Sebastian Zaha
d52a2ff10e
LibGfx: Fix error & crash in Rect::closest_to
...
Assertion fails if the point is outside of the rect. This was introduced
in introduced in #18970 and causes serenity to crash when changing to 2x
resolution for a monitor, if the cursor after resizing is outside of
the new screen.
Added test to reproduce.
2023-07-01 23:27:00 +02:00
..
2023-06-27 15:28:22 +01:00
2023-06-27 12:40:38 +02:00
2023-06-27 15:37:00 +01:00
2023-06-17 06:44:16 +02:00
2023-06-27 15:37:00 +01:00
2023-06-26 19:31:09 +02:00
2023-06-26 19:26:34 +02:00
2023-06-27 12:40:38 +02:00
2023-06-27 12:40:38 +02:00
2023-06-26 19:26:34 +02:00
2023-06-18 08:47:51 +01:00
2023-06-27 12:40:38 +02:00
2023-07-01 23:27:00 +02:00
2023-06-27 15:37:00 +01:00
2023-06-19 06:13:19 +02:00
2023-07-01 20:29:12 +01:00
2023-06-19 06:13:19 +02:00
2023-06-27 12:40:38 +02:00
2023-06-27 12:40:38 +02:00
2023-06-18 08:47:51 +01:00
2023-06-27 12:40:38 +02:00
2023-06-27 12:40:38 +02:00
2023-06-19 06:12:26 +02:00
2023-06-27 12:40:38 +02:00
2023-06-25 20:35:37 -04:00
2023-07-01 09:06:49 +02:00
2023-06-27 09:20:06 +01:00
2023-06-17 06:39:21 +02:00