Fix dragable and npcto/from and remove margintop from entergame.
This commit is contained in:
parent
bd61a89675
commit
dcde317904
|
@ -3,7 +3,6 @@ EnterGameWindow < MainWindow
|
|||
EnterGameWindow
|
||||
id: enterGame
|
||||
!text: tr('Enter Game')
|
||||
margin-top: 100
|
||||
size: 236 274
|
||||
@onEnter: EnterGame.doLogin()
|
||||
@onEscape: EnterGame.hide()
|
||||
|
|
|
@ -111,7 +111,7 @@ void UIWidget::parseBaseStyle(const OTMLNodePtr& styleNode)
|
|||
else if(node->tag() == "checked")
|
||||
setChecked(node->value<bool>());
|
||||
else if(node->tag() == "dragable")
|
||||
setChecked(node->value<bool>());
|
||||
setDragable(node->value<bool>());
|
||||
else if(node->tag() == "on")
|
||||
setOn(node->value<bool>());
|
||||
else if(node->tag() == "focusable")
|
||||
|
|
|
@ -36,8 +36,8 @@ void buildMessageModesMap(int version) {
|
|||
messageModesMap[Otc::MessageSay] = 1;
|
||||
messageModesMap[Otc::MessageWhisper] = 2;
|
||||
messageModesMap[Otc::MessageYell] = 3;
|
||||
messageModesMap[Otc::MessageNpcFrom] = 4;
|
||||
messageModesMap[Otc::MessageNpcTo] = 5;
|
||||
messageModesMap[Otc::MessageNpcTo] = 4;
|
||||
messageModesMap[Otc::MessageNpcFrom] = 5;
|
||||
messageModesMap[Otc::MessagePrivateFrom] = 6;
|
||||
messageModesMap[Otc::MessagePrivateTo] = 6;
|
||||
messageModesMap[Otc::MessageChannelHighlight] = 7;
|
||||
|
|
Loading…
Reference in New Issue