Split out a little logic related to recentering and finishing up block resolution so it can be used reasonably by subclasses.
git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@753 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
@@ -236,7 +236,11 @@ public class VirtualMediaPanel extends MediaPanel
|
||||
protected void didTick (long tickStamp)
|
||||
{
|
||||
super.didTick(tickStamp);
|
||||
adjustBoundsCenter();
|
||||
}
|
||||
|
||||
protected void adjustBoundsCenter ()
|
||||
{
|
||||
int width = getWidth(), height = getHeight();
|
||||
|
||||
// adjusts our view location to track any pathable we might be
|
||||
|
||||
Reference in New Issue
Block a user