Skip to content
Snippets Groups Projects
  1. 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
  2. Oct 25, 2021
  3. Oct 21, 2021
  4. Sep 27, 2021
  5. Sep 22, 2021
  6. Sep 21, 2021
  7. Sep 13, 2021
  8. Sep 02, 2021
  9. Aug 05, 2021
  10. Jul 01, 2021
  11. Apr 19, 2021
  12. Apr 16, 2021
  13. Apr 01, 2021
  14. Feb 12, 2021
  15. Jan 25, 2021
  16. Jan 23, 2021
  17. Oct 26, 2020
  18. Oct 20, 2020
  19. Oct 19, 2020
  20. Oct 16, 2020
  21. Oct 12, 2020
  22. Sep 11, 2020
  23. Sep 10, 2020
  24. Sep 09, 2020
Loading