mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
LibGfx: Use ErrorOr<T> for Bitmap::rotated()
This commit is contained in:
parent
2da4cfcc80
commit
69c4614a94
5 changed files with 11 additions and 10 deletions
|
@ -55,7 +55,7 @@ void ViewWidget::flip(Gfx::Orientation orientation)
|
|||
|
||||
void ViewWidget::rotate(Gfx::RotationDirection rotation_direction)
|
||||
{
|
||||
m_bitmap = m_bitmap->rotated(rotation_direction);
|
||||
m_bitmap = m_bitmap->rotated(rotation_direction).release_value_but_fixme_should_propagate_errors();
|
||||
set_scale(m_scale);
|
||||
|
||||
resize_window();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue