mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
HackStudio: Use a visually distinct icon for the cursor tool
Using the default cursor bitmap as the cursor tool icon in HackStudio was predictably making it impossible to tell if it's the real cursor or not. Replace it with a color-inverted cursor. :^)
This commit is contained in:
parent
5951c7ca05
commit
a04ab219d1
Notes:
sideshowbarker
2024-07-19 11:16:46 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/a04ab219d16
BIN
Base/res/icons/widgets/Cursor.png
Normal file
BIN
Base/res/icons/widgets/Cursor.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 176 B |
@ -128,7 +128,7 @@ int main(int argc, char** argv)
|
||||
auto form_widgets_toolbar = GToolBar::construct(Orientation::Vertical, 26, g_form_inner_container);
|
||||
form_widgets_toolbar->set_preferred_size(38, 0);
|
||||
|
||||
form_widgets_toolbar->add_action(GAction::create("Cursor", GraphicsBitmap::load_from_file("/res/cursors/arrow.png"), [&](auto&) {
|
||||
form_widgets_toolbar->add_action(GAction::create("Cursor", GraphicsBitmap::load_from_file("/res/icons/widgets/Cursor.png"), [&](auto&) {
|
||||
}));
|
||||
|
||||
GWidgetClassRegistration::for_each([&](const GWidgetClassRegistration& reg) {
|
||||
|
Loading…
Reference in New Issue
Block a user