Skip to content

Commit 13ea229

Browse files
committed
use Label's scrollbar instead of faking our own
1 parent c3807e9 commit 13ea229

2 files changed

Lines changed: 2 additions & 14 deletions

File tree

docs/gui/launcher.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ information in the help area about how to get started.
5757

5858
Once you have typed (or autocompleted) a word that matches a valid command, the
5959
help area shows the help for that command, including usage instructions and
60-
examples. You can scroll the help text by half pages by left/right clicking or
61-
with :kbd:`PgUp` and :kbd:`PgDn`. You can also scroll line by line with
60+
examples. You can scroll the help text by clicking on the scrollbar or with
61+
:kbd:`PgUp` and :kbd:`PgDn`. You can also scroll line by line with
6262
:kbd:`Ctrl`:kbd:`Up` and :kbd:`Ctrl`:kbd:`Down`.
6363

6464
Command history

gui/launcher.lua

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -362,18 +362,6 @@ function HelpPanel:postComputeFrame()
362362
true)
363363
end
364364

365-
function HelpPanel:onInput(keys)
366-
if HelpPanel.super.onInput(self, keys) then
367-
return true
368-
elseif keys._MOUSE_L and self:getMousePos() then
369-
self.subviews.help_label:scroll('+halfpage')
370-
return true
371-
elseif keys._MOUSE_R and self:getMousePos() then
372-
self.subviews.help_label:scroll('-halfpage')
373-
return true
374-
end
375-
end
376-
377365
----------------------------------
378366
-- LauncherUI
379367
--

0 commit comments

Comments
 (0)