Skip to content
Snippets Groups Projects
  1. Dec 13, 2021
  2. Dec 12, 2021
  3. Dec 11, 2021
  4. Dec 10, 2021
    • Ulrich Schöpp's avatar
      Improve zooming, panning, performance in DiagramViewer · 38c18334
      Ulrich Schöpp authored and Ulrich Schöpp's avatar Ulrich Schöpp committed
      
      Zoom:
      - When zooming with ctrl-scroll, the viewer fixes the content
        under the mouse pointer, so that zooming does not move the
        content.
      - On Linux, zoom did not work proper. The grid was zoomed,
        but the content remained unchanged.
      
      Panning:
      - The viewer now supports panning with ctrl-drag.
      
      Other changes:
      - The code for zooming and moving the content has been simplified.
        Rather than applying transformations to all nodes separately and
        repeating coordinate calculations, the content scale and
        translation is now controlled by a single transformation.
        Coordinate transformations are done using JavaFX's methods.
      - The GridCanvas has been optimized to avoid redrawing its content
        (which resulted in a noticable slow-down during panning). The
        grid canvas is not redrawn when the content is only moved.
      
      Signed-off-by: default avatarUlrich Schöpp <schoepp@fortiss.org>
      Issue-Ref: 4181
      38c18334
  5. Oct 25, 2021
  6. Oct 21, 2021
  7. Sep 27, 2021
  8. Sep 22, 2021
  9. Sep 21, 2021
  10. Sep 13, 2021
  11. Sep 02, 2021
  12. Aug 05, 2021
  13. Jul 01, 2021
  14. Apr 19, 2021
  15. Apr 16, 2021
  16. Apr 01, 2021
  17. Feb 12, 2021
  18. Jan 25, 2021
  19. Jan 23, 2021
  20. Oct 26, 2020
  21. Oct 20, 2020
  22. Oct 19, 2020
  23. Oct 16, 2020
  24. Oct 12, 2020
Loading