mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 01:29:17 +00:00
LibGUI: Update the window cursor if it was provided as a bitmap
This condition rejected almost every bitmap cursor change.
This commit is contained in:
parent
3b901e5b2b
commit
38bc81015b
Notes:
sideshowbarker
2024-07-18 03:36:53 +09:00
Author: https://github.com/krkk
Commit: 38bc81015b
Pull-request: https://github.com/SerenityOS/serenity/pull/10148
Issue: https://github.com/SerenityOS/serenity/issues/10142
1 changed files with 1 additions and 1 deletions
|
@ -1142,7 +1142,7 @@ void Window::update_cursor()
|
||||||
else
|
else
|
||||||
new_cursor = m_cursor;
|
new_cursor = m_cursor;
|
||||||
|
|
||||||
if (m_effective_cursor == new_cursor)
|
if (!m_custom_cursor && m_effective_cursor == new_cursor)
|
||||||
return;
|
return;
|
||||||
m_effective_cursor = new_cursor;
|
m_effective_cursor = new_cursor;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue