Skip to content
Snippets Groups Projects
Commit bc8e10b6 authored by Simon Barner's avatar Simon Barner
Browse files

Extend default zoom levels from 1:8 to 8:1

Issue-Ref: 3843
Issue-Url: af3#3843



Signed-off-by: default avatarSimon Barner <barner@fortiss.org>
parent 6c644400
No related branches found
No related tags found
1 merge request!1513843: Add context menu entries for zooming in diagram editors
Pipeline #31520 passed
Pipeline: maven-releng

#31521

    This commit is part of merge request !151. Comments created here will be created in the context of that merge request.
    ......@@ -2,7 +2,7 @@ DiagramCoordinate.java 6b00aec99054d4cd19003a72bd4e5e774ac6a641 GREEN
    DiagramLayers.java 155cbb47a5f0aaa0025320ae607e6777f3a2d2e8 GREEN
    DiagramViewer.java 920bb0f4ee6dd9ac6b607e44c01f04a413b2e2ed GREEN
    DiagramViewerDefaultTags.java 6230763252409c60009ab8887b4ef582cf883229 GREEN
    DiagramViewerFeatures.java 44f5315505d76ef8cb0b61b5a37d7d2501195788 GREEN
    DiagramViewerFeatures.java 397c9600193df18e865f1ff7c829df577c56d383 YELLOW
    DiagramViewerSelection.java e833f592543bc97077907d980a39b123fc4044e6 GREEN
    EDragGesture.java 5cfa098d3877db11981c2750e5e103156d62fc5e GREEN
    FeedbackChange.java b088fa89af648f1674f2f9c1f7f99d585ce801ca GREEN
    ......
    ......@@ -26,9 +26,9 @@ public final class DiagramViewerFeatures {
    /** The diagram viewer. */
    private final DiagramViewer viewer;
    /** The zoom factors. */
    private double[] zoomFactors = new double[] {0.5, 0.75, 1, 1.5, 2};
    private double[] zoomFactors = new double[] {0.125, 0.25, 0.5, 0.75, 1, 1.5, 2, 4, 8};
    /** The current zoom factor array index. */
    private int zoomFactorIndex = 2;
    private int zoomFactorIndex = 4; // Index of 1
    /** Flag indicating whether link highlighting is enabled. */
    private boolean linkHighlightingEnabled = false;
    /** Flag if interaction area shading is active. */
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment