real
This commit is contained in:
@@ -107,6 +107,10 @@ class AtlasFrameMaker extends FlxFramesCollection{
|
||||
|
||||
//trace(daFramez);
|
||||
}
|
||||
|
||||
if (frameSize != null)
|
||||
frameSize.put();
|
||||
|
||||
return daFramez;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,6 +125,9 @@ class DesktopMain extends MusicBeatState {
|
||||
|
||||
// TODO: switch back while using config
|
||||
FlxG.resizeGame(1280, 720);
|
||||
|
||||
if (screenSize != null)
|
||||
screenSize.put();
|
||||
}
|
||||
|
||||
public function focusWindow(window:Window) {
|
||||
|
||||
@@ -27,6 +27,7 @@ class DropDown extends Button {
|
||||
}
|
||||
}], onSelectionChange);
|
||||
|
||||
pos.put();
|
||||
camPos.put();
|
||||
}
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ class MenuBar extends WindowGroup<FlxBasic> {
|
||||
var camPos = camera != null ? FlxPoint.get(camera.x, camera.y) : FlxPoint.get();
|
||||
|
||||
ContextMenu.open(pos.x + camPos.x, pos.y + camPos.y, t.options, function(i) {});
|
||||
|
||||
pos.put();
|
||||
});
|
||||
b.label.fieldWidth = 0;
|
||||
@:privateAccess b.label._regen = true;
|
||||
|
||||
@@ -146,17 +146,11 @@ class ThemeData implements IFlxDestroyable {
|
||||
public function new() {}
|
||||
|
||||
public function destroy() {
|
||||
if (margin != null) {
|
||||
if (margin != null)
|
||||
margin.put();
|
||||
margin = null;
|
||||
}
|
||||
if (size != null) {
|
||||
if (size != null)
|
||||
size.put();
|
||||
size = null;
|
||||
}
|
||||
if (offset != null) {
|
||||
if (offset != null)
|
||||
offset.put();
|
||||
offset = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -71,4 +71,9 @@ class WindowDragHitbox extends FlxObject {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override function destroy() {
|
||||
super.destroy();
|
||||
offset.put();
|
||||
}
|
||||
}
|
||||
@@ -359,6 +359,9 @@ class Character extends FlxSprite implements IBeatReceiver implements IOffsetCom
|
||||
|
||||
public override function destroy() {
|
||||
super.destroy();
|
||||
|
||||
cameraOffset.put();
|
||||
globalOffset.put();
|
||||
}
|
||||
|
||||
public inline function getIcon() {
|
||||
|
||||
@@ -138,5 +138,6 @@ class OptionsScreen extends MusicBeatState {
|
||||
public override function destroy() {
|
||||
super.destroy();
|
||||
instance = null;
|
||||
scrollDest.put();
|
||||
}
|
||||
}
|
||||
@@ -152,5 +152,6 @@ class UpdateAvailableScreen extends MusicBeatState {
|
||||
public override function destroy() {
|
||||
super.destroy();
|
||||
FlxG.mouse.visible = false;
|
||||
oldPos.put();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user