forked from 0ad/0ad
Some inconsequential style adjustments.
This was SVN commit r14809.
This commit is contained in:
parent
ef76d24e66
commit
8f30e722ab
@ -35,14 +35,6 @@
|
||||
<!-- HOTKEYS (For some reason, they won't work properly unless outside menu) -->
|
||||
<!-- ================================ ================================ -->
|
||||
|
||||
<!-- Exit button Hotkey -->
|
||||
<!--
|
||||
<action on="Press"><![CDATA[
|
||||
messageBox(400, 200, "Do you really want to quit?", "Confirmation", 0,
|
||||
["Yes", "No!"], [leaveGame, null]);
|
||||
]]></action>
|
||||
-->
|
||||
|
||||
<object hotkey="leave">
|
||||
<action on="Press">closeOpenDialogs();</action>
|
||||
</object>
|
||||
@ -232,6 +224,7 @@
|
||||
<object hotkey="selection.cancel">
|
||||
<action on="Press">clearSelection()</action>
|
||||
</object>
|
||||
|
||||
<!-- ================================ ================================ -->
|
||||
<!-- Developer / Debug items -->
|
||||
<!-- ================================ ================================ -->
|
||||
@ -1330,11 +1323,8 @@
|
||||
</repeat>
|
||||
</object>
|
||||
</object>
|
||||
|
||||
</object> <!-- END OF UNIT COMMANDS -->
|
||||
|
||||
</object><!-- END OF BOTTOM PANEL -->
|
||||
|
||||
</object> <!-- END OF SN OBJECT -->
|
||||
|
||||
<!-- ================================ ================================ -->
|
||||
@ -1355,7 +1345,6 @@
|
||||
<object size="0 0 100% 100%" type="text" style="CenteredButtonText" name="disconnectedExitButtonText" ghost="true">Exit</object>
|
||||
<action on="Press">leaveGame()</action>
|
||||
</object>
|
||||
|
||||
</object>
|
||||
|
||||
</objects>
|
||||
|
@ -151,18 +151,14 @@ void CMiniMap::HandleMessage(SGUIMessage &Message)
|
||||
case GUIM_MOUSE_RELEASE_LEFT:
|
||||
{
|
||||
if(m_MouseHovering && m_Clicking)
|
||||
{
|
||||
SetCameraPos();
|
||||
}
|
||||
m_Clicking = false;
|
||||
break;
|
||||
}
|
||||
case GUIM_MOUSE_DBLCLICK_LEFT:
|
||||
{
|
||||
if(m_MouseHovering && m_Clicking)
|
||||
{
|
||||
SetCameraPos();
|
||||
}
|
||||
m_Clicking = false;
|
||||
break;
|
||||
}
|
||||
@ -190,9 +186,7 @@ void CMiniMap::HandleMessage(SGUIMessage &Message)
|
||||
case GUIM_MOUSE_MOTION:
|
||||
{
|
||||
if (m_MouseHovering && m_Clicking)
|
||||
{
|
||||
SetCameraPos();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GUIM_MOUSE_WHEEL_DOWN:
|
||||
|
Loading…
Reference in New Issue
Block a user