mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibGfx: Rename RotationDirection members
Left => CounterClockwise Right => Clockwise Makes much more sense for a rotation
This commit is contained in:
parent
f7ea1eb610
commit
fbe712e265
3 changed files with 5 additions and 5 deletions
|
@ -162,12 +162,12 @@ int main(int argc, char** argv)
|
|||
|
||||
auto rotate_left_action = GUI::Action::create("Rotate &Left", { Mod_None, Key_L },
|
||||
[&](auto&) {
|
||||
widget.rotate(Gfx::RotationDirection::Left);
|
||||
widget.rotate(Gfx::RotationDirection::CounterClockwise);
|
||||
});
|
||||
|
||||
auto rotate_right_action = GUI::Action::create("Rotate &Right", { Mod_None, Key_R },
|
||||
[&](auto&) {
|
||||
widget.rotate(Gfx::RotationDirection::Right);
|
||||
widget.rotate(Gfx::RotationDirection::Clockwise);
|
||||
});
|
||||
|
||||
auto vertical_flip_action = GUI::Action::create("Flip &Vertically", { Mod_None, Key_V },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue