Skip to content

Commit c22ffc7

Browse files
committed
Improved zoom level steps to go directly from 1 to 0.5
1 parent 3634544 commit c22ffc7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

data/diagram_models/sfc/editor/2d_editor/Sfc2dEditorNode.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public class Sfc2dEditorNode : Control
1010
{
1111
#region ==================== Fields Properties ====================
1212
private ReferenceRect _renderViewportReferenceRect;
13-
private int _zoomLevel = 2;
14-
private static readonly float[] zoomLevels = new float[] { 0.5f, 0.7f, 1f, 1.5f, 2f, 3f };
13+
private int _zoomLevel = 1;
14+
private static readonly float[] zoomLevels = new float[] { 0.5f, 1f, 1.5f, 2f, 3f };
1515
private bool _isDragging;
1616
private Vector2 _lastDragPosition;
1717

data/diagram_models/sfc/editor/2d_editor/sfc_patch/elements/SfcLineDouble.png.import

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ compress/hdr_mode=0
2020
compress/bptc_ldr=0
2121
compress/normal_map=0
2222
flags/repeat=0
23-
flags/filter=true
23+
flags/filter=false
2424
flags/mipmaps=false
25-
flags/anisotropic=true
25+
flags/anisotropic=false
2626
flags/srgb=2
2727
process/fix_alpha_border=true
2828
process/premult_alpha=false

0 commit comments

Comments
 (0)