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
|
widget.boundKeyDownCombos[keyComboDesc] = nil
|
||||||
end
|
end
|
||||||
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-align: left
|
||||||
text-offset: 2 0
|
text-offset: 2 0
|
||||||
color: #aaaaaa
|
color: #aaaaaa
|
||||||
background-color: white
|
background-color: alpha
|
||||||
|
|
||||||
$hover:
|
$hover:
|
||||||
color: #ffffff
|
color: #ffffff
|
||||||
|
|
|
@ -442,8 +442,7 @@ bool UILineEdit::onKeyPress(uchar keyCode, int keyboardModifiers, bool wouldFilt
|
||||||
} else
|
} else
|
||||||
return false;
|
return false;
|
||||||
return true;
|
return true;
|
||||||
} else
|
}
|
||||||
dump << "what?";
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue