mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 15:25:01 +01:00
possible big clock sizing fix
git-svn-id: svn://localhost/ardour2/branches/3.0@6732 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
fcb83c97ce
commit
26cf5551a5
1 changed files with 4 additions and 1 deletions
|
|
@ -661,6 +661,8 @@ ARDOUR_UI::idle_big_clock_text_resizer (int win_w, int win_h)
|
|||
}
|
||||
size -= stepsize;
|
||||
|
||||
stepsize /= 2;
|
||||
|
||||
} else if (h < limit) {
|
||||
|
||||
cerr << h << " is too small, increase by " << stepsize << endl;
|
||||
|
|
@ -670,9 +672,10 @@ ARDOUR_UI::idle_big_clock_text_resizer (int win_w, int win_h)
|
|||
break;
|
||||
}
|
||||
size += stepsize;
|
||||
|
||||
stepsize *= 2;
|
||||
}
|
||||
|
||||
stepsize /= 2;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue