fix sliders being wrong size after changing resolution (close #132)
This commit is contained in:
parent
246b1274a6
commit
d9646a5feb
|
@ -77,8 +77,6 @@ public class CurveRenderState {
|
|||
/**
|
||||
* Set the width and height of the container that Curves get drawn into.
|
||||
* Should be called before any curves are drawn.
|
||||
* @param width the container width
|
||||
* @param height the container height
|
||||
* @param circleDiameter the circle diameter
|
||||
*/
|
||||
public static void init(float circleDiameter) {
|
||||
|
|
|
@ -25,6 +25,7 @@ import itdelatrisu.opsu.downloads.DownloadList;
|
|||
import itdelatrisu.opsu.downloads.DownloadNode;
|
||||
import itdelatrisu.opsu.downloads.Updater;
|
||||
import itdelatrisu.opsu.render.CurveRenderState;
|
||||
import itdelatrisu.opsu.render.FrameBufferCache;
|
||||
import itdelatrisu.opsu.replay.PlaybackSpeed;
|
||||
import itdelatrisu.opsu.ui.Cursor;
|
||||
import itdelatrisu.opsu.ui.Fonts;
|
||||
|
@ -295,6 +296,7 @@ public class DisplayContainer implements ErrorDumpable, SkinChangedListener {
|
|||
GameImage.destroyImages();
|
||||
GameData.Grade.destroyImages();
|
||||
Beatmap.destroyBackgroundImageCache();
|
||||
FrameBufferCache.shutdown();
|
||||
}
|
||||
|
||||
public void teardownAL() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user