Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSCAD GUI does not cleanup messages for repeated SHIFT+ENTER on same script #1317

Open
Hermann-SW opened this issue Jan 16, 2024 · 0 comments

Comments

@Hermann-SW
Copy link
Contributor

Expected Behavior

On pressing SHIFT+ENTER in editor,

processing,
please wait

appears, and then disappears after rendering completed.

Actual Behavior

Expected behavior is happening for first SHIFT+ENTER for a given script.
Pressing SHIFT+ENTER again on unchanged script does not cleanup the messages.

Steps to Reproduce the Problem

  1. paste
    module.exports=function main(){return require('@jscad/modeling').primitives.sphere({radius: 50})}
    into editor
  2. press SHIFT+ENTER, messages appear and disappear on left side
  3. press SHIFT+ENTER again, cleanup of messages does not work
  4. add whitespace at very beginning of script and press SHIFT+ENTER, cleanup happens only first time

Specifications

  • Version: latest
  • Platform: openscad.xyz as well as local demo.html werserver hosted in OpenJSCAD.org/packages/web
  • Environment: browser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant