From dcbea0086eb3228e0a9e4c07a45a567e74f1958a Mon Sep 17 00:00:00 2001 From: bordun Date: Thu, 23 Apr 2020 23:35:34 +0200 Subject: [PATCH] inspector: hide _children frame: rm label --- src/client/ui/ui-inspector.js | 2 +- src/client/widgets/frames/frame.js | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/client/ui/ui-inspector.js b/src/client/ui/ui-inspector.js index ade9995c..777fedbc 100644 --- a/src/client/ui/ui-inspector.js +++ b/src/client/ui/ui-inspector.js @@ -118,7 +118,7 @@ class UiInspector extends UiWidget { for (let propName in props) { - if (propName === 'children' || propName === 'tabs' || propName === 'widgets') continue + if (propName === '_children' || propName === 'tabs' || propName === 'widgets') continue let field, shared = true diff --git a/src/client/widgets/frames/frame.js b/src/client/widgets/frames/frame.js index 1b4cc090..f6f0ad4b 100644 --- a/src/client/widgets/frames/frame.js +++ b/src/client/widgets/frames/frame.js @@ -18,11 +18,6 @@ class Frame extends StaticProperties(Widget, {bypass: true}) { }, ['decimals', 'bypass'], { - label: {type: 'string|boolean', value: 'auto', help: [ - 'Set to `false` to hide completely', - 'Insert icons using the prefix ^ followed by the icon\'s name : ^play, ^pause, etc', - 'If set to `false`, all pointer-events will be disabled on the frame as long as the editor is enabled to ensure it can be selected' - ]}, value: {type: 'string', value: '', help: [ 'External web page URL. Only local URLs are allowed (starting with `http://127.0.0.1/`, `http://10.x.x.x/`, `http://192.168.x.x/`, etc)', ]}