mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 21:13:26 +02:00
Add ambient light in graphics options
This commit is contained in:
@@ -95,3 +95,22 @@ Panel
|
||||
minimum: 1
|
||||
maximum: 61
|
||||
|
||||
Label
|
||||
id: ambientLightLabel
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 6
|
||||
@onSetup: |
|
||||
local value = Options.getOption('ambientLight')
|
||||
self:setText(tr('Ambient light: %s%%', value))
|
||||
|
||||
FrameRateScrollbar
|
||||
id: ambientLight
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 3
|
||||
minimum: 0
|
||||
maximum: 100
|
||||
|
||||
|
Reference in New Issue
Block a user