From faed88b956d4e9ee8e70ed0890688bde5fdce0a2 Mon Sep 17 00:00:00 2001 From: Michael Alexsander Date: Wed, 22 Jan 2020 20:38:06 -0300 Subject: [PATCH] Enable "switch on hover" in the top menu buttons --- addons/material_maker/main_window.tscn | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/material_maker/main_window.tscn b/addons/material_maker/main_window.tscn index d8c3ef8..ce82b2f 100644 --- a/addons/material_maker/main_window.tscn +++ b/addons/material_maker/main_window.tscn @@ -45,6 +45,7 @@ margin_right = 35.0 margin_bottom = 20.0 text = "File" items = [ "New material", null, 0, false, false, 0, 0, null, "", false, "Load material", null, 0, false, false, 1, 268435535, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Save material", null, 0, false, false, 4, 268435539, null, "", false, "Save material as...", null, 0, false, false, 5, 301989971, null, "", false, "Save all materials...", null, 0, false, false, 6, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Export material", null, 0, false, false, 8, 268435525, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Close material", null, 0, false, false, 10, 0, null, "", false, "Quit", null, 0, false, false, 11, 268435537, null, "", false ] +switch_on_hover = true [node name="Edit" type="MenuButton" parent="VBoxContainer/Menu"] margin_left = 39.0 @@ -52,6 +53,7 @@ margin_right = 75.0 margin_bottom = 20.0 text = "Edit" items = [ "Cut", null, 0, false, false, 12, 268435544, null, "", false, "Copy", null, 0, false, false, 13, 268435523, null, "", false, "Paste", null, 0, false, false, 14, 268435542, null, "", false, "Duplicate", null, 0, false, false, 15, 268435524, null, "", false ] +switch_on_hover = true [node name="View" type="MenuButton" parent="VBoxContainer/Menu"] margin_left = 79.0 @@ -59,6 +61,7 @@ margin_right = 121.0 margin_bottom = 20.0 text = "View" items = [ "Center view", null, 0, false, false, 16, 67, null, "", false, "Reset zoom", null, 0, false, false, 17, 268435504, null, "", false ] +switch_on_hover = true [node name="Tools" type="MenuButton" parent="VBoxContainer/Menu"] margin_left = 125.0 @@ -66,6 +69,7 @@ margin_right = 171.0 margin_bottom = 20.0 text = "Tools" items = [ "Create", null, 0, false, false, 0, 0, null, "PopupMenu", false, "Create group", null, 0, false, false, 19, 268435527, null, "", false, "Make selected nodes editable", null, 0, false, false, 20, 268435543, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "Add selected node to user library", null, 0, false, false, 22, 0, null, "", false, "Export the nodes library", null, 0, false, false, 23, 0, null, "", false ] +switch_on_hover = true [node name="Help" type="MenuButton" parent="VBoxContainer/Menu"] margin_left = 175.0 @@ -73,6 +77,7 @@ margin_right = 217.0 margin_bottom = 20.0 text = "Help" items = [ "User manual", null, 0, false, false, 24, 16777244, null, "", false, "Show selected library item documentation", null, 0, false, false, 25, 285212700, null, "", false, "Report a bug", null, 0, false, false, 26, 0, null, "", false, "", null, 0, false, false, -1, 0, null, "", true, "About", null, 0, false, false, 28, 0, null, "", false ] +switch_on_hover = true [node name="HBoxContainer" type="HSplitContainer" parent="VBoxContainer"] margin_top = 24.0