1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:01:01 +00:00
serenity/Libraries
Andreas Kling 3a01df9fb1 GWidget: Fix accidentally ignored set_relative_rect() with empty size
To protect the layout system from negative input values, we were using
an empty Rect() whenever an empty rect (width/height <= 0) was provided
to set_relative_rect().

This caused Terminal's scrollbar code to fail, since it relies on first
setting only the scrollbar width on startup, and then setting up the
proper geometry in response to the initial resize event.

Fixes #753.
2019-11-10 12:57:37 +01:00
..
LibAudio SoundPlayer: Changed some small cosmetic things 2019-11-05 19:50:11 +01:00
LibC LibC: Fix wrong syscall identifier for shm_unlink() 2019-11-09 22:42:54 +01:00
LibCore LibCore: Rename class Gzip -> CGZip 2019-11-10 12:52:23 +01:00
LibDraw POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibELF LibELF: Move AK/ELF/ into Libraries/LibELF/ 2019-11-06 13:42:38 +01:00
LibGUI GWidget: Fix accidentally ignored set_relative_rect() with empty size 2019-11-10 12:57:37 +01:00
LibHTML LibHTML: Paint a magenta rectangle around the currently inspected node 2019-11-09 11:58:50 +01:00
LibIPC POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibM LibM: Add back ampsin() since it was still used by tan() 2019-11-03 09:59:44 +01:00
LibMarkdown LibMarkdown: Include a <head> element when rendering MD to HTML 2019-10-30 20:28:44 +01:00
LibPCIDB POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibThread POSIX compliance: (most) shell scripts converted to generic shell 2019-11-03 09:26:22 +01:00
LibVT LibVT: Make inject_string() a public API so clients can use it 2019-10-22 22:14:36 +02:00