Skip to content

Commit

Permalink
[hide]Model view now respond to F5 shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
EspeuteClement committed Nov 28, 2024
1 parent a43cbec commit c200320
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hide/view/Model.hx
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ class Model extends FileView {
sceneEditor.view.keys.register("undo", function() undo.undo());
sceneEditor.view.keys.register("redo", function() undo.redo());

sceneEditor.view.keys.register("view.refresh", function() rebuild());
sceneEditor.view.keys.register("view.refreshApp", function() untyped chrome.runtime.reload());


element.find(".hide-scene-tree").first().append(sceneEditor.tree.element);
element.find(".render-props-edition").find('.hide-scenetree').append(sceneEditor.renderPropsTree.element);
element.find(".props").first().append(sceneEditor.properties.element);
Expand Down

0 comments on commit c200320

Please sign in to comment.