We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6bd593 commit 9921e88Copy full SHA for 9921e88
examples/textures/textures_gif_player/textures_gif_player.lpr
@@ -73,14 +73,16 @@
73
74
FrameCounter := 0;
75
// Control frames delay
76
- if IsKeyPressed(KEY_RIGHT) then Inc(FrameDelay)
77
- else if IsKeyPressed(KEY_LEFT) then Dec(FrameDelay);
+
78
79
if FrameDelay > MAX_FRAME_DELAY then FrameDelay := MAX_FRAME_DELAY
80
else if FrameDelay < MIN_FRAME_DELAY then FrameDelay := MIN_FRAME_DELAY;
81
//----------------------------------------------------------------------------------
82
end;
83
+ if IsKeyPressed(KEY_RIGHT) then Inc(FrameDelay)
84
+ else if IsKeyPressed(KEY_LEFT) then Dec(FrameDelay);
85
86
// Draw
87
88
BeginDrawing();
0 commit comments