Some minor things.
Just got back today, awesome progress ed :)
This commit is contained in:
parent
773837da98
commit
197a379933
Binary file not shown.
Before Width: | Height: | Size: 880 B After Width: | Height: | Size: 822 B |
|
@ -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()
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue