1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:50:59 +00:00
serenity/Libraries
Nico Weber 98dd034c29 LibGUI: Make scrollbars keep scrolling by page while clicking the gutter
Note that m_hovered_component is only updated on mouse move, not while
just keeping left down. It's arguably wrong to update it on mouse move
while the mouse is down, I'll probably change things so that it doesn't
update there either.

The behavior on click-in-gutter-keep-left-down-then-move-mouse varies
a surprising amount between platforms. This implements the macOS
behavior where the scrubber follows the mouse direction while scrolling
by pages. (To be precise, it's the macOS behavior of Finder and Preview,
Safari has Windows's scrollbar behavior).

On Windows, the first click locks in the scroll direction and then
dragging the mouse off the scrubber in that direction makes the
scroll continue, but dragging it off the other direction has no effect.
I see no reason for that behavior.
2020-08-25 18:09:56 +02:00
..
LibAudio AK: Rename KB, MB, GB to KiB, MiB, GiB 2020-08-16 16:33:28 +02:00
LibC LibC: Remove unused data member in the qsort() implementation 2020-08-24 18:22:09 +02:00
LibChess LibChess: Shrink Chess::Piece from 8 bytes to 1 byte 2020-08-21 13:46:07 +02:00
LibCompress LibCompress: Turn the DEFLATE implementation into a stream. 2020-08-20 16:28:31 +02:00
LibCore LibCore: Make DateTime::create() and set_time() handle out-of-range values 2020-08-24 18:20:07 +02:00
LibCrypt LibCrypt: Add LibCrypt, crypt, and crypt_r 2020-07-28 17:07:22 +02:00
LibCrypto AK: Add Endian.h header to replace NetworkOrdered.h. 2020-08-25 16:22:14 +02:00
LibDebug LibDebug: Move everything into the "Debug" namespace 2020-08-25 09:46:06 +02:00
LibDesktop FileManager: Allow double-clicking applications again 2020-07-15 00:11:30 +02:00
LibELF LibELF: Ignore PT_GNU_STACK headers 2020-08-20 10:12:45 +02:00
LibGemini AK: Rename KB, MB, GB to KiB, MiB, GiB 2020-08-16 16:33:28 +02:00
LibGfx AK: Add Endian.h header to replace NetworkOrdered.h. 2020-08-25 16:22:14 +02:00
LibGUI LibGUI: Make scrollbars keep scrolling by page while clicking the gutter 2020-08-25 18:09:56 +02:00
LibHTTP LibHTTP: Fix processing terminating chunk 2020-08-19 15:28:31 +02:00
LibImageDecoderClient ImageDecoder: Add a new service for out-of-process image decoding :^) 2020-06-22 21:47:00 +02:00
LibIPC LibIPC: Fix waiting for specific message 2020-08-03 15:59:11 +02:00
LibJS Meta: Move prettier config files to the root of the repository 2020-08-24 18:21:33 +02:00
LibKeyboard Kernel+LibKeyboard: Store the keymap name when setting system keymap 2020-08-06 17:45:06 +02:00
LibLine LibLine: Correct weird arrow up/down behaviour 2020-08-23 15:36:11 +02:00
LibM LibM: Mark compilation-unit-only functions as static 2020-08-12 20:40:59 +02:00
LibMarkdown LibMarkdown: Reset offset to 0 on each new List line 2020-07-14 17:45:16 +02:00
LibPCIDB LibPCIDB: Mark compilation-unit-only functions as static 2020-08-12 20:40:59 +02:00
LibProtocol ProtocolServer+LibTLS: Pipe certificate requests from LibTLS to clients 2020-08-02 18:57:51 +02:00
LibPthread AK: Rename KB, MB, GB to KiB, MiB, GiB 2020-08-16 16:33:28 +02:00
LibTextCodec LibTextCodec: Mark compilation-unit-only functions as static 2020-08-12 20:40:59 +02:00
LibThread LibThread: Uninitialized member variable in Thread, found by Coverity 2020-08-17 09:17:57 +02:00
LibTLS AK: Add Endian.h header to replace NetworkOrdered.h. 2020-08-25 16:22:14 +02:00
LibUnwind LibUnwind: Create UnwindBase.h to capture the EH ABI in code 2020-05-14 08:50:10 +02:00
LibVT WindowServer+LibVT: Convert some dbgprintf() to dbg() 2020-08-18 17:19:52 +02:00
LibWeb Misc: Remove some unneeded includes of Timer.h and ElapsedTimer.h (#3286) 2020-08-25 09:41:56 +02:00
LibX86 LibX86: Remove some allocations from Instruction::to_string 2020-08-16 19:38:55 +02:00
CMakeLists.txt Chess: Refactor game logic into LibChess for use in engines 2020-08-21 12:26:30 +02:00