Skip to content

Commit

Permalink
showing and hiding the dual display according to the new setting
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Wicenec committed Dec 19, 2024
1 parent 8e22aae commit a2aad52
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/Setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ export class Setting {
static readonly BOTTOM_WINDOW_MODE : string = "BottomWindowMode";
static readonly OBJECT_INSPECTOR_COLLAPSED_STATE : string = "ObjectInspectorVisibility";
static readonly GRAPH_INSPECTOR_COLLAPSED_STATE : string = "GraphInspectorVisibility";
static readonly NODE_PARAMS_TABLE_DUAL_VALUE_display : string = "NodeParamsTableDualValueDisplay";
static readonly NODE_PARAMS_TABLE_DUAL_VALUE_DISPLAY : string = "NodeParamsTableDualValueDisplay";

static readonly OPEN_BUILTIN_PALETTE: string = "OpenBuiltinPalette";
static readonly OPEN_TEMPLATE_PALETTE: string = "OpenTemplatePalette";
Expand Down Expand Up @@ -405,7 +405,7 @@ const settings : SettingsGroup[] = [
new Setting(false, "Bottom Window Mode/Tab", Setting.BOTTOM_WINDOW_MODE, "saving the mode/tab of the bottom window", true, Setting.Type.Number, 'ParameterTable', 'ParameterTable', 'ParameterTable', 'ParameterTable', 'ParameterTable'),
new Setting(false, "Graph Objects Inspector", Setting.OBJECT_INSPECTOR_COLLAPSED_STATE, "saving the collapsed state of the graph object inspector", true, Setting.Type.Boolean, false, false, false, false, false),
new Setting(false, "Graph Info Inspector", Setting.GRAPH_INSPECTOR_COLLAPSED_STATE, "saving the collapsed state of the graph inspector", true, Setting.Type.Boolean, false, false, false, false, false),
new Setting(false, "Node Parameter Table Dual Value Display", Setting.NODE_PARAMS_TABLE_DUAL_VALUE_display, "Should both the graph value and config value be displayed", false, Setting.Type.Boolean, false, false, false, false, true),
new Setting(false, "Node Parameter Table Dual Value Display", Setting.NODE_PARAMS_TABLE_DUAL_VALUE_DISPLAY, "Should both the graph value and config value be displayed", false, Setting.Type.Boolean, false, false, false, false, true),
]
),
new SettingsGroup(
Expand Down
11 changes: 10 additions & 1 deletion static/tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,19 @@ td:first-child input {
right: 3px;
}

.eagleTableDisplay .eagleTableWrapper .configValueInput{
border: 2px solid #002e5f;
margin: 3px;
}

.eagleTableDisplay .eagleTableWrapper .configValueInput.checkboxWrapper {
margin: unset;
}

.eagleTableDisplay .eagleTableWrapper .doubleInputDisplay.configValueInput{
right: unset;
margin: unset;
left: 3px;
border: 2px solid #002e5f;
}

.eagleTableDisplay input[type="checkbox"]{
Expand Down
Loading

0 comments on commit a2aad52

Please sign in to comment.