mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-14 20:33:30 +01:00
Not clear selection while history editing
This commit is contained in:
parent
8c810ed4d5
commit
0caad4e6d9
1 changed files with 4 additions and 1 deletions
|
|
@ -53,7 +53,10 @@ TCAD.App = function() {
|
|||
}
|
||||
|
||||
this.bus.subscribe("craft", function() {
|
||||
app.viewer.selectionMgr.clear();
|
||||
var historyEditMode = app.craft.historyPointer != app.craft.history.length;
|
||||
if (!historyEditMode) {
|
||||
app.viewer.selectionMgr.clear();
|
||||
}
|
||||
app._refreshSketches();
|
||||
});
|
||||
window.addEventListener('storage', storage_handler, false);
|
||||
|
|
|
|||
Loading…
Reference in a new issue