Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/develop' into adv-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
ab9rf committed Oct 24, 2024
2 parents 668225c + 3a1cc55 commit abb53f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/about/Authors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ David Timm dtimm
Dean Golden LightHardt
Deon
dhthwy dhthwy
dikbut Tjudge1
dikbutdagrate Tjudge1
Dmitrii Kurkin Kurkin
DoctorVanGogh DoctorVanGogh
Donald Ruegsegger hashaash
Expand Down
3 changes: 1 addition & 2 deletions library/lua/gui/widgets/list.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ local common = require('gui.widgets.common')
local Widget = require('gui.widgets.widget')
local Scrollbar = require('gui.widgets.scrollbar')
local Label = require('gui.widgets.labels.label')
local Panel = require('gui.widgets.containers.panel')

local getval = utils.getval
local to_pen = dfhack.pen.parse
Expand Down Expand Up @@ -341,7 +340,7 @@ function List:onInput(keys)
if idx ~= self:getSelected() then
self.last_select_click_ms = now_ms
else
if now_ms - self.last_select_click_ms <= Panel.DOUBLE_CLICK_MS then
if now_ms - self.last_select_click_ms <= common.DOUBLE_CLICK_MS then
self.last_select_click_ms = 0
if self:double_click() then return true end
else
Expand Down

0 comments on commit abb53f0

Please sign in to comment.