Skip to content

Commit

Permalink
Merge branch 'develop' into remote_reader
Browse files Browse the repository at this point in the history
  • Loading branch information
RosaryMala committed May 12, 2019
2 parents 860be4a + 32a0ab9 commit c793b10
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions library/lua/gui/dwarfmode.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ MOVEMENT_KEYS = {
CURSOR_UP_Z_AUX = { 0, 0, 1 }, CURSOR_DOWN_Z_AUX = { 0, 0, -1 },
}

local function get_movement_delta(key, delta, big_step)
function get_movement_delta(key, delta, big_step)
local info = MOVEMENT_KEYS[key]
if info then
if info[4] then
Expand All @@ -243,7 +243,7 @@ for i,v in ipairs(df.global.ui.main.hotkeys) do
HOTKEY_KEYS['D_HOTKEY'..(i+1)] = v
end

local function get_hotkey_target(key)
function get_hotkey_target(key)
local hk = HOTKEY_KEYS[key]
if hk and hk.cmd == df.ui_hotkey.T_cmd.Zoom then
return xyz2pos(hk.x, hk.y, hk.z)
Expand Down
2 changes: 1 addition & 1 deletion library/xml
2 changes: 1 addition & 1 deletion scripts

0 comments on commit c793b10

Please sign in to comment.