mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 09:39:21 +02:00
fix combobox style
This commit is contained in:
parent
452d1a76b0
commit
9997b258b9
@ -123,3 +123,12 @@ function Hotkeys.unbindKeyDown(keyComboDesc, widget)
|
||||
widget.boundKeyDownCombos[keyComboDesc] = nil
|
||||
end
|
||||
end
|
||||
|
||||
function Hotkeys.unbindKeyPress(keyComboDesc, widget)
|
||||
widget = widget or rootWidget
|
||||
if widget.boundKeyPressCombos == nil then return end
|
||||
local keyComboDesc = retranslateKeyComboDesc(keyComboDesc)
|
||||
if keyComboDesc then
|
||||
widget.boundKeyPressCombos[keyComboDesc] = nil
|
||||
end
|
||||
end
|
||||
|
@ -4,7 +4,7 @@ ComboBoxPopupMenuButton < UIButton
|
||||
text-align: left
|
||||
text-offset: 2 0
|
||||
color: #aaaaaa
|
||||
background-color: white
|
||||
background-color: alpha
|
||||
|
||||
$hover:
|
||||
color: #ffffff
|
||||
|
@ -442,8 +442,7 @@ bool UILineEdit::onKeyPress(uchar keyCode, int keyboardModifiers, bool wouldFilt
|
||||
} else
|
||||
return false;
|
||||
return true;
|
||||
} else
|
||||
dump << "what?";
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user