Description:
Make bulldozer have a red cursor.
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
@@ -41,6 +41,9 | |||
|
41 | 41 | case Tool.Dezone: |
|
42 | 42 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Red); |
|
43 | 43 | break; |
|
44 | case Tool.Bulldozer: | |
|
45 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Red); | |
|
46 | break; | |
|
44 | 47 | case Tool.Preserve: |
|
45 | 48 | Tile.OutlineSquare(batch, cursorComponent.position.X, cursorComponent.position.Y, Color.Blue); |
|
46 | 49 | break; |
@@ -134,17 +134,16 | |||
|
134 | 134 | } |
|
135 | 135 | if (ImGui.BeginPopup("BulldozerChildren")) |
|
136 | 136 | { |
|
137 | Logging.Debug("Opened popup."); | |
|
138 | if (Menu.activeButton("\ue058 Dezone", bridgeEngine.toolStatuses[Tool.Dezone], StyleSets.selected, StyleSets.white)) | |
|
139 | { | |
|
137 | if (Menu.activeButton("\ue058 Dezone", bridgeEngine.toolStatuses[Tool.Dezone], StyleSets.selected, StyleSets.white)) | |
|
138 | { | |
|
140 | 139 | bridgeEngine.toggleToolMessages.Add(new ToggleToolMessage {Tool = Tool.Dezone}); |
|
141 | 140 | ImGui.CloseCurrentPopup(); |
|
142 |
|
|
|
143 |
|
|
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
141 | } | |
|
142 | if (ImGui.Button("Cancel")) | |
|
143 | { | |
|
144 | ImGui.CloseCurrentPopup(); | |
|
145 | } | |
|
146 | ImGui.EndPopup(); | |
|
148 | 147 | } |
|
149 | 148 | ImGui.Text("|"); |
|
150 | 149 |
You need to be logged in to leave comments.
Login now