shader-toy icon indicating copy to clipboard operation
shader-toy copied to clipboard

Feature request: leave the preview alone if compilation fails

Open wmanning-cra opened this issue 2 years ago • 2 comments

It's really helpful to see the instant difference before and after a change to the shader, but if the change takes more than one or two keystrokes to make, then the preview is interrupted with a compile error.

wmanning-cra avatar Apr 20 '22 18:04 wmanning-cra

You can modify the delay between changes and a recompile via the setting Reload On Edit Text Delay. Is this not enough for your use-case?

Malacath-92 avatar Apr 30 '22 10:04 Malacath-92

To clarify, every edit should reset this timer. So if your keystrokes are faster than the delay you should not get a recompile until you stop typing.

Malacath-92 avatar Apr 30 '22 10:04 Malacath-92