This is a little bugfix, lmk if you want the behavior to be different or behind a flag or something.
Previous behavior:
when the user switches from a .glsl file to a non-.glsl file and starts editing, the glslCanvas reverts to the "no glsl selected" blank screen.
New behavior:
when editing non .glsl files, the last-focused .glsl document is retained as the source for glslCanvas
This is a little bugfix, lmk if you want the behavior to be different or behind a flag or something.
Previous behavior: when the user switches from a .glsl file to a non-.glsl file and starts editing, the glslCanvas reverts to the "no glsl selected" blank screen.
New behavior: when editing non .glsl files, the last-focused .glsl document is retained as the source for glslCanvas