Skip to content

Commit 10280fa

Browse files
Merge pull request #43 from justjuangui/demo
Click on top bar points now rotate the allocation mode
2 parents c09bbae + 56d3481 commit 10280fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Modules/Build.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,8 @@ function buildMode:OnFrame(inputEvents)
11071107
self.viewMode = "PARTY"
11081108
end
11091109
end
1110+
elseif event.type == "KeyUp" and event.key == "LEFTBUTTON" and self.controls.pointDisplay:IsMouseInBounds() then
1111+
self.spec.allocMode = (self.spec.allocMode + 1) % 3
11101112
end
11111113
end
11121114
self:ProcessControlsInput(inputEvents, main.viewPort)

0 commit comments

Comments
 (0)