the editor component (ace) holds the currently edited buffer state internally. when the ui changes such that the editor is no longer rendered (such as when switching to the project activity) or a new file is selected and the existing one hasn't been saved a new untitled.lua file is created in memory in order to retain any edits.
the naming/placement logic assumes the pre norns 2.0 "scripts" directory structure and creates a new file at the root of the dust tree and not under dust/code as it should.
partially fixed as of: 771e26f82632627928ef642f46a9696521c67495
the editor component (ace) holds the currently edited buffer state internally. when the ui changes such that the editor is no longer rendered (such as when switching to the project activity) or a new file is selected and the existing one hasn't been saved a new
untitled.lua
file is created in memory in order to retain any edits.the naming/placement logic assumes the pre norns 2.0 "scripts" directory structure and creates a new file at the root of the
dust
tree and not underdust/code
as it should.partially fixed as of: 771e26f82632627928ef642f46a9696521c67495