mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 12:17:44 +00:00
Magnifier: Add missing icons
Add icons for 'Next Frame' and 'Previous Frame'.
This commit is contained in:
parent
b4a7d148b1
commit
91d27bd484
1 changed files with 2 additions and 2 deletions
|
@ -78,13 +78,13 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
|
||||
auto timeline_menu = TRY(window->try_add_menu("&Timeline"));
|
||||
auto previous_frame_action = GUI::Action::create(
|
||||
"&Previous frame", { Key_Left }, [&](auto&) {
|
||||
"&Previous frame", { Key_Left }, TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-back.png")), [&](auto&) {
|
||||
pause_action->set_checked(true);
|
||||
magnifier->pause_capture(true);
|
||||
magnifier->display_previous_frame();
|
||||
});
|
||||
auto next_frame_action = GUI::Action::create(
|
||||
"&Next frame", { Key_Right }, [&](auto&) {
|
||||
"&Next frame", { Key_Right }, TRY(Gfx::Bitmap::try_load_from_file("/res/icons/16x16/go-forward.png")), [&](auto&) {
|
||||
pause_action->set_checked(true);
|
||||
magnifier->pause_capture(true);
|
||||
magnifier->display_next_frame();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue