mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:18:14 +00:00
PixelPaint: Store tool cursors as NNRP<Gfx::Bitmap const>
This commit is contained in:
parent
65710bf3f7
commit
df07416171
24 changed files with 26 additions and 26 deletions
|
@ -304,7 +304,7 @@ bool TextTool::on_keydown(GUI::KeyEvent& event)
|
|||
return true;
|
||||
}
|
||||
|
||||
Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap>> TextTool::cursor()
|
||||
Variant<Gfx::StandardCursor, NonnullRefPtr<Gfx::Bitmap const>> TextTool::cursor()
|
||||
{
|
||||
if (m_mouse_is_over_text)
|
||||
return Gfx::StandardCursor::Move;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue