Skip to content

FxtStore doesn't work with Text.Display #117

@VitalRus95

Description

@VitalRus95

Texts added with FxtStore don't work in Text.Display until you set isGlobal flag to true, because of which, unfortunately, they stop being unique and become editable by other scripts.

The minimal code for reproduction I came up with is this:

FxtStore.insert('STRTEST', 'Test string', false); // Change `false` to `true` to make it work

while (true) {
    wait(0);

    if (Pad.IsButtonPressed(0, 4)) { // Action button, usually Tab
        Text.UseCommands(true);
        Text.Display(320, 224, 'STRTEST');
        Text.UseCommands(false);
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions