mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
Polish interface, pt translations
This commit is contained in:
@@ -196,7 +196,7 @@ function addCreature(creature)
|
||||
local creatureWidget = battleButton:getChildById('creature')
|
||||
local labelWidget = battleButton:getChildById('label')
|
||||
local lifeBarWidget = battleButton:getChildById('lifeBar')
|
||||
battleButton.onHoverChange = onbattleButtonHoverChange
|
||||
battleButton.onHoverChange = onBattleButtonHoverChange
|
||||
battleButton.onMouseRelease = onMouseRelease
|
||||
|
||||
battleButton:setId('BattleButton_' .. creature:getName():gsub('%s','_'))
|
||||
@@ -325,7 +325,7 @@ function setLifeBarPercent(battleButton, percent)
|
||||
lifeBarWidget:setBackgroundColor(color)
|
||||
end
|
||||
|
||||
function onbattleButtonHoverChange(widget, hovered)
|
||||
function onBattleButtonHoverChange(widget, hovered)
|
||||
if widget.isBattleButton then
|
||||
widget.isHovered = hovered
|
||||
checkBattleButton(widget)
|
||||
|
@@ -99,7 +99,7 @@ MiniWindow
|
||||
anchors.right: parent.right
|
||||
anchors.top: prev.bottom
|
||||
margin-top: 5
|
||||
padding-right: 5
|
||||
layout:
|
||||
type: verticalBox
|
||||
fit-children: true
|
||||
|
||||
|
@@ -1,7 +1,6 @@
|
||||
BattleButton < UIButton
|
||||
height: 20
|
||||
margin-top: 5
|
||||
margin-right: 4
|
||||
margin-bottom: 5
|
||||
&isBattleButton: true
|
||||
|
||||
UICreature
|
||||
|
Reference in New Issue
Block a user