Fix right alt modifier (alt gr) switching tabs (?)
This commit is contained in:
parent
194187288f
commit
03cabea911
|
@ -300,11 +300,6 @@ end
|
|||
|
||||
|
||||
function DocView:update()
|
||||
-- clamp to view bounds
|
||||
local max_scroll = math.max(0, self:get_scrollable_size() - self.size.y)
|
||||
self.scroll.y = math.min(max_scroll, self.scroll.y)
|
||||
self.scroll.to.y = math.max(0, math.min(max_scroll, self.scroll.to.y))
|
||||
|
||||
-- scroll to make caret visible and reset blink timer if it moved
|
||||
local line, col = self.doc:get_selection()
|
||||
if (line ~= self.last_line or col ~= self.last_col) and self.size.x > 0 then
|
||||
|
|
|
@ -6,7 +6,7 @@ keymap.map = {}
|
|||
keymap.reverse_map = {}
|
||||
|
||||
|
||||
local modkeys = { "ctrl", "alt", "shift" }
|
||||
local modkeys = { "ctrl", "left alt", "shift" }
|
||||
|
||||
local function modkey(key)
|
||||
for _, k in ipairs(modkeys) do
|
||||
|
|
Loading…
Reference in New Issue