mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
--Bug fixes
-Properly display bounds from last commit.
This commit is contained in:
parent
f806ba745d
commit
f550a3e9b8
@ -188,10 +188,10 @@ void Fractorium::UpdateHistogramBounds()
|
|||||||
|
|
||||||
if (auto r = m_Controller->Renderer())
|
if (auto r = m_Controller->Renderer())
|
||||||
{
|
{
|
||||||
ul.sprintf("UL: %3.3f, %3.3f", r->LowerLeftX(), r->UpperRightY());//These bounds include gutter padding.
|
ul.sprintf("UL: %3.3f, %3.3f", r->LowerLeftX(), m_Settings->YAxisUp() ? r->UpperRightY() : r->LowerLeftY());//These bounds include gutter padding.
|
||||||
ur.sprintf("UR: %3.3f, %3.3f", r->UpperRightX(), r->UpperRightY());
|
ur.sprintf("UR: %3.3f, %3.3f", r->UpperRightX(), m_Settings->YAxisUp() ? r->UpperRightY() : r->LowerLeftY());
|
||||||
lr.sprintf("LR: %3.3f, %3.3f", r->UpperRightX(), r->LowerLeftY());
|
lr.sprintf("LR: %3.3f, %3.3f", r->UpperRightX(), m_Settings->YAxisUp() ? r->LowerLeftY() : r->UpperRightY());
|
||||||
ll.sprintf("LL: %3.3f, %3.3f", r->LowerLeftX(), r->LowerLeftY());
|
ll.sprintf("LL: %3.3f, %3.3f", r->LowerLeftX(), m_Settings->YAxisUp() ? r->LowerLeftY() : r->UpperRightY());
|
||||||
wh.sprintf("W x H: %4u x %4u", r->SuperRasW(), r->SuperRasH());
|
wh.sprintf("W x H: %4u x %4u", r->SuperRasW(), r->SuperRasH());
|
||||||
g.sprintf("%u", (uint)r->GutterWidth());
|
g.sprintf("%u", (uint)r->GutterWidth());
|
||||||
ui.InfoBoundsLabelUL->setText(ul);
|
ui.InfoBoundsLabelUL->setText(ul);
|
||||||
|
Loading…
Reference in New Issue
Block a user