don't call private SimpleWindow constructor in KFlxShader

This commit is contained in:
2025-03-12 12:31:16 -05:00
parent 2a013ca4d3
commit af8ae01d32

View File

@@ -95,7 +95,12 @@ class KFlxShader extends flixel.system.FlxAssets.FlxShader {
}
function editShaderUniforms() {
var window = new SimpleWindow('Editing shader uniforms: ${json.jsonPath}', null, null, 0.9, 0.9, true);
var window = SimpleWindow.create({
title: 'Editing shader uniforms: ${json.jsonPath}',
percentWidth: 0.9,
percentHeight: 0.9,
xButton: true
});
function recursiveCall() {
window.show();