aboutsummaryrefslogtreecommitdiff
path: root/examples/text_font_select.lua
diff options
context:
space:
mode:
authorghassanpl <kronikarz@gmail.com>2016-08-06 16:58:48 +0200
committerghassanpl <kronikarz@gmail.com>2016-08-06 16:58:48 +0200
commit4960e6b6d7b4cba6125cfb8bb2fef043db8e5ba5 (patch)
tree88dfb074579589a5ea6eba92462bb44863d18798 /examples/text_font_select.lua
parentd5f5f0a9302435945b730e5ec001bda39741f3c7 (diff)
downloadraylib-4960e6b6d7b4cba6125cfb8bb2fef043db8e5ba5.tar.gz
raylib-4960e6b6d7b4cba6125cfb8bb2fef043db8e5ba5.zip
Fixes for some Lua bugs
Diffstat (limited to 'examples/text_font_select.lua')
-rw-r--r--examples/text_font_select.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/text_font_select.lua b/examples/text_font_select.lua
index e04f6024..f6cea881 100644
--- a/examples/text_font_select.lua
+++ b/examples/text_font_select.lua
@@ -87,7 +87,7 @@ while not WindowShouldClose() do -- Detect window close button or ESC
btnNextInColor = PURPLE
end
- if (IsMouseButtonDown(MOUSE_LEFT_BUTTON)) then
+ if (IsMouseButtonDown(MOUSE.LEFT_BUTTON)) then
framesCounter = 20 -- Frames button is 'active'
btnNextOutColor = MAROON
btnNextInColor = RED