mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-30 06:32:42 +00:00
Fix status bar values when we move pixels
This commit is contained in:
parent
af2c2838e0
commit
34b8be3114
@ -436,9 +436,12 @@ bool MovingPixelsState::onUpdateStatusBar(Editor* editor)
|
||||
|
||||
StatusBar::instance()->setStatusText
|
||||
(100, ":pos: %d %d :size: %3d %3d :selsize: %d %d [%.02f%% %.02f%%] :angle: %.1f",
|
||||
transform.bounds().x, transform.bounds().y,
|
||||
imageSize.w, imageSize.h,
|
||||
transform.bounds().w, transform.bounds().h,
|
||||
int(transform.bounds().x),
|
||||
int(transform.bounds().y),
|
||||
imageSize.w,
|
||||
imageSize.h,
|
||||
int(transform.bounds().w),
|
||||
int(transform.bounds().h),
|
||||
(double)transform.bounds().w*100.0/imageSize.w,
|
||||
(double)transform.bounds().h*100.0/imageSize.h,
|
||||
180.0 * transform.angle() / PI);
|
||||
|
Loading…
x
Reference in New Issue
Block a user