Some minor things.

Just got back today, awesome progress ed :)
This commit is contained in:
BeniS 2013-01-29 00:02:44 +13:00
parent 773837da98
commit 197a379933
3 changed files with 4 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 880 B

After

Width:  |  Height:  |  Size: 822 B

View File

@ -131,6 +131,8 @@ function terminate()
consolePanel = nil consolePanel = nil
graphicsPanel = nil graphicsPanel = nil
audioPanel = nil audioPanel = nil
audioButton:destroy()
audioButton = nil
end end
function toggle() function toggle()

View File

@ -436,9 +436,9 @@ function onMinimapMouseWheel(self, mousePos, direction)
local keyboardModifiers = g_keyboard.getModifiers() local keyboardModifiers = g_keyboard.getModifiers()
if direction == MouseWheelUp and keyboardModifiers == KeyboardNoModifier then if direction == MouseWheelUp and keyboardModifiers == KeyboardNoModifier then
miniMapZoomOut()
elseif direction == MouseWheelDown and keyboardModifiers == KeyboardNoModifier then
miniMapZoomIn() miniMapZoomIn()
elseif direction == MouseWheelDown and keyboardModifiers == KeyboardNoModifier then
miniMapZoomOut()
elseif direction == MouseWheelDown and keyboardModifiers == KeyboardCtrlModifier then elseif direction == MouseWheelDown and keyboardModifiers == KeyboardCtrlModifier then
minimapFloorUp(1) minimapFloorUp(1)
elseif direction == MouseWheelUp and keyboardModifiers == KeyboardCtrlModifier then elseif direction == MouseWheelUp and keyboardModifiers == KeyboardCtrlModifier then