Skip to content

Commit

Permalink
[private] TotalTracker gui honor bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
crucialfelix committed Aug 23, 2012
1 parent d61fac6 commit aaf27ed
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions drivers/TotalTracker.scd
Expand Up @@ -101,10 +101,13 @@ MxUnit.register('TotalTracker',
t
},
name: { ~source.name },
gui: { arg layout;
gui: { arg layout,bounds;
var l;
l = layout ?? {PageLayout(~source.name,Rect(100,100,800,600))};
TrMxSongController(~source).gui(l);
bounds = bounds ? Rect(100,100,800,600);
l = layout ?? {
PageLayout(~source.name,bounds.moveTo(100,100))
};
TrMxSongController(~source).gui(l,bounds);
if(layout.isNil,{
l.resizeToFit
})
Expand Down

0 comments on commit aaf27ed

Please sign in to comment.