Reduce sequence editor vertical host spacing
This commit is contained in:
@@ -35,7 +35,7 @@ function configure(node) {
|
||||
hide(stateWidget);
|
||||
const panel = el("div");
|
||||
panel.style.cssText = "box-sizing:border-box;width:calc(100% + 14px);margin-left:-7px;min-width:420px;padding:9px;color:#d9e3dc;background:#292929;border:1px solid #454545;border-radius:4px;font:12px Arial;pointer-events:auto";
|
||||
const host = el("div"); host.style.cssText = "pointer-events:auto;background:#292929;width:100%"; host.append(panel);
|
||||
const host = el("div"); host.style.cssText = "pointer-events:auto;background:#292929;width:100%;margin-top:-7px;margin-bottom:-7px"; host.append(panel);
|
||||
["pointerdown", "mousedown", "mouseup", "dblclick"].forEach((name) => host.addEventListener(name, (event) => event.stopPropagation()));
|
||||
const display = node.addDOMWidget("clip_tabs", "dumas_h3_clip_tabs", host, { serialize: false });
|
||||
display.options ||= {}; display.options.serialize = false;
|
||||
|
||||
Reference in New Issue
Block a user