Skip to content

#715 HTML codegen: use a queue for SVG input.

Dennis Hendriks requested to merge 715-html-codegen-svgin-needs-a-queue into develop
  • Best to review per commit.
  • JS/HTML codegen: add warning logging support.
  • HTML codegen: Use a queue for SVG input:
    • The queue preserves the order of the clicks.
    • If the clicked element is not enabled, a warning is printed and the click is ignored, just like in the simulator.
    • The queue consists of functions, such that we can delay determining the event until the click is at the head of the queue, to evaluate it in the proper state, also like in the simulator.
  • Also fixed hover CSS for same SVG input element id in different SVGs, by using the query selector that first selects on the SVG image and only then on the SVG element id.

Addresses #715

Edited by Dennis Hendriks

Merge request reports