Skip to content

Commit

Permalink
ISSUE 5703: Color picker offset relative to editor container (GrapesJ…
Browse files Browse the repository at this point in the history
  • Loading branch information
bernesto committed Mar 4, 2024
1 parent 468ee35 commit f6a1878
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/canvas/model/Frame.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ export default class Frame extends ModuleModel<CanvasModule> {

_emitUpdated(data = {}) {
this.em.trigger('frame:updated', { frame: this, ...data });
// When the frame is updated, the canvas should be refreshed. This may be better up stream from here.
this.em.refreshCanvas();
}

hasAutoHeight() {
Expand Down

0 comments on commit f6a1878

Please sign in to comment.