Skip to content

Commit

Permalink
button is functional
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Wicenec committed Dec 19, 2024
1 parent 6c9ea7e commit 8e22aae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Setting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +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 OPEN_BUILTIN_PALETTE: string = "OpenBuiltinPalette";
static readonly OPEN_TEMPLATE_PALETTE: string = "OpenTemplatePalette";
Expand Down Expand Up @@ -404,6 +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 SettingsGroup(
Expand Down
2 changes: 1 addition & 1 deletion templates/node_parameter_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h5 class="bottomWindowHeader">Fields Table: </h5>
<!-- ko if: ParameterTable.getActiveColumnVisibility().value() -->
<th class="parameter_table_value" data-bind="eagleTooltip:'The value of this parameter'" data-bs-placement="top">
<span>Value</span>
<button id="showOverwriteSeperately">
<button id="showOverwriteSeperately" data-bind="click: Setting.find(Setting.NODE_PARAMS_TABLE_DUAL_VALUE_display).toggle">
<div>
<i class="material-icons-outlined">check_box_outline_blank</i>
</div>
Expand Down

0 comments on commit 8e22aae

Please sign in to comment.