Skip to content

Commit

Permalink
commands: Fix some of the issues with click/drag after Ctrl-drag
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosuav committed Nov 8, 2023
1 parent 9d65a08 commit abfcc5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions httpstatic/command_gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -981,6 +981,7 @@ function clone_template(t, par) {
if (t === "") return "";
const el = {...t};
delete el.template;
delete el.key;
if (el.type === "flag") el.type = "dragflag"; //Hack - dragging a flag unfurls it (and doesn't add an active element)
else actives.push(el);
if (par && el.parent) el.parent[0] = par;
Expand Down

0 comments on commit abfcc5c

Please sign in to comment.