Skip to content

Commit

Permalink
fixes editors (unless drop down and adding notes at ChartingState)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcagabe19 committed Jun 21, 2024
1 parent bf97321 commit b9c65fd
Show file tree
Hide file tree
Showing 7 changed files with 461 additions and 205 deletions.
1 change: 1 addition & 0 deletions source/backend/ui/PsychUIInputText.hx
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ class PsychUIInputText extends FlxSpriteGroup
if(!FlxG.keys.pressed.SHIFT) selectIndex = -1;
else if(selectIndex == -1) selectIndex = caretIndex;
focusOn = this;
FlxG.stage.window.textInputEnabled = true;
caretIndex = 0;
var lastBound:Float = 0;
var txtX:Float = textObj.x - textObj.textField.scrollH;
Expand Down
2 changes: 1 addition & 1 deletion source/debug/FPSCounter.hx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class FPSCounter extends TextField
{
text =
'FPS: $currentFPS' +
'\nMemory: ${flixel.util.FlxStringUtil.formatBytes(memoryMegas)}' +
'\nMemory: ${flixel.util.FlxStringUtil.formatBytes(#if cpp cpp.vm.Gc.memInfo64(cpp.vm.Gc.MEM_INFO_USAGE) #else memoryMegas #end)}' +
os;

textColor = 0xFFFFFFFF;
Expand Down
6 changes: 3 additions & 3 deletions source/mobile/backend/CrashHandler.hx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ class CrashHandler
#if sys
try
{
if (!FileSystem.exists('crash'))
FileSystem.createDirectory('crash');
if (!FileSystem.exists('logs'))
FileSystem.createDirectory('logs');

File.saveContent('crash/' + Date.now().toString().replace(' ', '-').replace(':', "'") + '.txt', '$m\n$stackLabel');
File.saveContent('logs/' + 'Crash - ' + Date.now().toString().replace(' ', '-').replace(':', "'") + '.txt', '$m\n$stackLabel');
}
catch (e:haxe.Exception)
trace('Couldn\'t save error message. (${e.message})');
Expand Down
Loading

0 comments on commit b9c65fd

Please sign in to comment.