mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 14:33:26 +02:00
Many UI fixes.
This commit is contained in:
@@ -22,3 +22,11 @@ MenuLabel < Label
|
||||
GameLabel < UILabel
|
||||
font: verdana-11px-antialised
|
||||
color: #bbbbbb
|
||||
|
||||
FrameCounterLabel < Label
|
||||
@onSetup: |
|
||||
self.updateEvent = cycleEvent(function()
|
||||
local text = 'FPS: ' .. g_app.getBackgroundPaneFps()
|
||||
self:setText(text)
|
||||
end, 1000)
|
||||
@onDestroy: self.updateEvent:cancel()
|
||||
|
Reference in New Issue
Block a user