Skip to content

Commit

Permalink
fix: Misc
Browse files Browse the repository at this point in the history
  • Loading branch information
surajshetty3416 committed Dec 29, 2024
1 parent aac5fa7 commit 6f403b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,8 @@ p:empty::before {
::-webkit-scrollbar-thumb {
@apply rounded-full;
@apply bg-surface-gray-3;
}

[data-theme='dark'] img {
filter: revert;
}
3 changes: 3 additions & 0 deletions frontend/src/utils/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,9 @@ class Block implements BlockOptions {
const component = this.referenceComponent;
if (component) {
resetWithComponent(this, this.extendedFromComponent as string, component.children);
// TODO: Remove this
const store = useStore();
store.activeCanvas?.history?.resume(undefined, true, true);
}
}
syncWithComponent() {
Expand Down

0 comments on commit 6f403b6

Please sign in to comment.