Skip to content

Commit

Permalink
option "show collapsator when mouse hover" for mind map theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
mindolph committed Dec 20, 2024
1 parent fd549fc commit 4192c86
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -453,11 +453,13 @@ public void onSave(boolean notify) {
}
}

// for toggle theme settings
private Map<String, Node> themeNodes = new HashMap<>() {
{
put("spnGridStep", spnGridStep);
put("cbConnectorStyle", cbConnectorStyle);
put("ckbShowGrid", ckbShowGrid);
put("ckbShowCollapsatorOnMouseHover", ckbShowCollapsatorOnMouseHover);
put("cpGridColor", cpGridColor);
put("cpBackgroundFillColor", cpBackgroundFillColor);
put("spnConnectorWidth", spnConnectorWidth);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<PreferenceItem name="Show grid:">
<CheckBox fx:id="ckbShowGrid" mnemonicParsing="false"/>
</PreferenceItem>
<PreferenceItem name="Show collapsator when mouse hover:">
<CheckBox fx:id="ckbShowCollapsatorOnMouseHover" mnemonicParsing="false"/>
</PreferenceItem>
<PreferenceItem name="Drop shadow:">
<CheckBox fx:id="ckbDropShadow"/>
</PreferenceItem>
Expand Down Expand Up @@ -155,9 +158,6 @@
<PreferenceItem name="Trim topic text before pasting:">
<CheckBox fx:id="ckbTrimTopicText"/>
</PreferenceItem>
<PreferenceItem name="Show collapsator when mouse hover">
<CheckBox fx:id="ckbShowCollapsatorOnMouseHover" mnemonicParsing="false"/>
</PreferenceItem>
<!-- <PreferenceItem name="Prefer internal browser to open URL:">-->
<!-- <items>-->
<!-- <CheckBox fx:id="ckbPreferInternalBrowser" />-->
Expand Down

0 comments on commit 4192c86

Please sign in to comment.