mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 07:35:51 +01:00
Comment about bug I found in trying to figure out this code.
This commit is contained in:
@@ -419,6 +419,9 @@ void DeviceToolBar::RepositionCombos()
|
|||||||
// if the toolbar is docked then the width we should use is the project width.
|
// if the toolbar is docked then the width we should use is the project width.
|
||||||
// as the toolbar's with can extend past this.
|
// as the toolbar's with can extend past this.
|
||||||
GetClientSize(&w, &h);
|
GetClientSize(&w, &h);
|
||||||
|
|
||||||
|
// FIX-ME: Note that there's some bug in here, in that even if the prefs show the toolbar
|
||||||
|
// docked, on initialization, this call to IsDocked() returns false.
|
||||||
if (IsDocked()) {
|
if (IsDocked()) {
|
||||||
// If the toolbar is docked its width can be larger than what is actually viewable
|
// If the toolbar is docked its width can be larger than what is actually viewable
|
||||||
// So take the min. We don't need to worry about having another toolbar to the left off us
|
// So take the min. We don't need to worry about having another toolbar to the left off us
|
||||||
|
|||||||
Reference in New Issue
Block a user