mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 23:50:19 +00:00
Calculator: Replace "Euler's Constant" with "Euler's Number" in menu
This is meant to address #14234 by renaming the "Euler's Constant" menu item to "Euler's Number". This commit removes the existing "eulers.png" and replaces with a new "eulers_number.png" for clarity.
This commit is contained in:
parent
5b7bdd589c
commit
fd641f6f17
Notes:
sideshowbarker
2024-07-17 17:38:29 +09:00
Author: https://github.com/redsnout 🔰 Commit: https://github.com/SerenityOS/serenity/commit/fd641f6f17 Pull-request: https://github.com/SerenityOS/serenity/pull/14248 Reviewed-by: https://github.com/linusg
3 changed files with 1 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 3 KiB |
BIN
Base/res/icons/calculator/eulers_number.png
Normal file
BIN
Base/res/icons/calculator/eulers_number.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 822 B |
|
@ -60,7 +60,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
constants_menu.add_action(GUI::Action::create("&Pi", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/calculator/pi.png")), [&](auto&) {
|
||||
widget->set_entry(KeypadValue { 31415926535, 10 });
|
||||
}));
|
||||
constants_menu.add_action(GUI::Action::create("&Euler's Constant", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/calculator/eulers.png")), [&](auto&) {
|
||||
constants_menu.add_action(GUI::Action::create("&Euler's Number", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/calculator/eulers_number.png")), [&](auto&) {
|
||||
widget->set_entry(KeypadValue { 27182818284, 10 });
|
||||
}));
|
||||
constants_menu.add_action(GUI::Action::create("&Phi", TRY(Gfx::Bitmap::try_load_from_file("/res/icons/calculator/phi.png")), [&](auto&) {
|
||||
|
|
Loading…
Reference in a new issue