Skip to content

Commit 3b74576

Browse files
committed
Move/size tool: add permanent "lock aspect ratio" control
Relates to #342. Thank you to @gt-nik for this suggestion! This new checkbox allows you to permanently lock aspect ratio when resizing layers. The setting locks aspect ratio both when resizing the layer on-canvas (by mouse-dragging), or when using the layer size spin controls. This setting is also persistent across sessions, but note that invoking some menu commands (e.g. `Layer > Size > Fit to Image`) will forcibly turn the setting off. This is because certain resize operations don't work unless they are allowed to set width/height independently (like fitting a layer to an arbitrary parent image size!)
1 parent 80ca881 commit 3b74576

17 files changed

+231
-92
lines changed

App/PhotoDemon/Languages/French.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>fr-FR</langid>
88
<langname>Français</langname>
9-
<langversion>6.7.517</langversion>
9+
<langversion>6.7.518</langversion>
1010
<langstatus>Complete</langstatus>
1111

1212
<author>Jean Jacques Piedfort (orig. Frank Donckers)</author>
@@ -11558,6 +11558,11 @@ Vous pouvez alors si besoin
1155811558

1155911559
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1156011560

11561+
<phrase>
11562+
<original>lock aspect ratio</original>
11563+
<translation></translation>
11564+
</phrase>
11565+
1156111566
<phrase>
1156211567
<original>transform quality</original>
1156311568
<translation>transformer la qualité</translation>
@@ -11643,7 +11648,7 @@ Vous pouvez alors si besoin
1164311648
<translation>Rendre les transformations de calque en cours (taille, angle et cisaillement) permanentes. Cette action n'est jamais requise, mais si le rendu de la fenêtre d'affichage est lent, cela peut améliorer les performances.</translation>
1164411649
</phrase>
1164511650

11646-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11651+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1164711652

1164811653
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1164911654

@@ -13263,10 +13268,10 @@ Si vous choisissez de désactiver les mises à jour, n'oubliez pas de visiter ph
1326313268

1326413269
<!-- Automatic text extraction complete. -->
1326513270

13266-
<phrasecount>2507</phrasecount>
13271+
<phrasecount>2508</phrasecount>
1326713272

13268-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13269-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13270-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13273+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13274+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13275+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1327113276

1327213277
</pdData>

App/PhotoDemon/Languages/German.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>de-DE</langid>
88
<langname>Deutsch (DE)</langname>
9-
<langversion>9.0.149</langversion>
9+
<langversion>9.0.150</langversion>
1010
<langstatus>Up-to-date</langstatus>
1111

1212
<author>rk (ehem. Frank Donckers, Helmut Kuerbiss)</author>
@@ -11550,6 +11550,11 @@ Für diese Unannehmlichkeit möchte ich mich wirklich entschuldigen, aber unglü
1155011550

1155111551
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1155211552

11553+
<phrase>
11554+
<original>lock aspect ratio</original>
11555+
<translation></translation>
11556+
</phrase>
11557+
1155311558
<phrase>
1155411559
<original>transform quality</original>
1155511560
<translation>Transformationsqualität</translation>
@@ -11635,7 +11640,7 @@ Für diese Unannehmlichkeit möchte ich mich wirklich entschuldigen, aber unglü
1163511640
<translation>Aktuelle Layer-Transformationen (Größe, Winkel und Scherung) dauerhaft machen. Diese Aktion ist nie erforderlich, aber wenn das Viewport-Rendering träge ist, kann es die Performance verbessern.</translation>
1163611641
</phrase>
1163711642

11638-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11643+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1163911644

1164011645
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1164111646

@@ -13246,10 +13251,10 @@ Wenn Sie trotzdem Updates deaktivieren möchten, vergessen Sie nicht, photodemon
1324613251

1324713252
<!-- Automatic text extraction complete. -->
1324813253

13249-
<phrasecount>2507</phrasecount>
13254+
<phrasecount>2508</phrasecount>
1325013255

13251-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13252-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13253-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13256+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13257+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13258+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1325413259

1325513260
</pdData>

App/PhotoDemon/Languages/Indonesian.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>id-ID</langid>
88
<langname>Indonesian</langname>
9-
<langversion>6.6.476</langversion>
9+
<langversion>6.6.477</langversion>
1010
<langstatus>Complete</langstatus>
1111

1212
<author>Ari Sohandri Putra (7.0 updates by Google Translate)</author>
@@ -11552,6 +11552,11 @@ I memohon maaf di atas kesulitan ini, tetapi malangnya tiada apa %2 boleh lakuka
1155211552

1155311553
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1155411554

11555+
<phrase>
11556+
<original>lock aspect ratio</original>
11557+
<translation></translation>
11558+
</phrase>
11559+
1155511560
<phrase>
1155611561
<original>transform quality</original>
1155711562
<translation>mengubah kualitas</translation>
@@ -11637,7 +11642,7 @@ I memohon maaf di atas kesulitan ini, tetapi malangnya tiada apa %2 boleh lakuka
1163711642
<translation>Buat lapisan saat ini berubah (ukuran, sudut, dan geser) permanen. Tindakan ini tidak pernah diperlukan, namun jika viewport rendering lamban, ini bisa meningkatkan kinerja.</translation>
1163811643
</phrase>
1163911644

11640-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11645+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1164111646

1164211647
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1164311648

@@ -13248,10 +13253,10 @@ Jika anda masih memilih untuk melumpuhkan Perbarui, jangan lupa untuk mengunjung
1324813253

1324913254
<!-- Automatic text extraction complete. -->
1325013255

13251-
<phrasecount>2507</phrasecount>
13256+
<phrasecount>2508</phrasecount>
1325213257

13253-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13254-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13255-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13258+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13259+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13260+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1325613261

1325713262
</pdData>

App/PhotoDemon/Languages/Italian.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>it-IT</langid>
88
<langname>Italiano</langname>
9-
<langversion>8.0.28</langversion>
9+
<langversion>8.0.29</langversion>
1010
<langstatus>Completa</langstatus>
1111

1212
<author>GioRock (8.0 updates by DeepL.com)</author>
@@ -11559,6 +11559,11 @@ Mi scuso per l'inconveniente, ma purtroppo non c'è nulla che %2 può fare a rig
1155911559

1156011560
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1156111561

11562+
<phrase>
11563+
<original>lock aspect ratio</original>
11564+
<translation></translation>
11565+
</phrase>
11566+
1156211567
<phrase>
1156311568
<original>transform quality</original>
1156411569
<translation>trasformare la qualità</translation>
@@ -11644,7 +11649,7 @@ Mi scuso per l'inconveniente, ma purtroppo non c'è nulla che %2 può fare a rig
1164411649
<translation>Rendere permanenti le trasformazioni dello livello di corrente (dimensione, angolo e taglio). Questa azione non è mai richiesta, ma se la resa del viewport è lenta, può migliorare le prestazioni.</translation>
1164511650
</phrase>
1164611651

11647-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11652+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1164811653

1164911654
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1165011655

@@ -13255,10 +13260,10 @@ Se si sceglie ancora di disabilitare gli aggiornamenti, non dimenticate di visit
1325513260

1325613261
<!-- Automatic text extraction complete. -->
1325713262

13258-
<phrasecount>2507</phrasecount>
13263+
<phrasecount>2508</phrasecount>
1325913264

13260-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13261-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13262-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13265+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13266+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13267+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1326313268

1326413269
</pdData>

App/PhotoDemon/Languages/Macedonian.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>mk-MK</langid>
88
<langname>македонски</langname>
9-
<langversion>1.0.330</langversion>
9+
<langversion>1.0.331</langversion>
1010
<langstatus>incomplete</langstatus>
1111

1212
<author>Бобан Ѓерасимоски</author>
@@ -11546,6 +11546,11 @@ I Искрено се извинуваме за оваа ситуација, н
1154611546

1154711547
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1154811548

11549+
<phrase>
11550+
<original>lock aspect ratio</original>
11551+
<translation></translation>
11552+
</phrase>
11553+
1154911554
<phrase>
1155011555
<original>transform quality</original>
1155111556
<translation>трансформира квалитет</translation>
@@ -11631,7 +11636,7 @@ I Искрено се извинуваме за оваа ситуација, н
1163111636
<translation>Направете тековната преобразува слој (големина, агол, и смолкнување) трајна. Оваа акција не е потребно, но ако гледиштето рендерирање е бавен, тоа може да се подобри перформанси.</translation>
1163211637
</phrase>
1163311638

11634-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11639+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1163511640

1163611641
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1163711642

@@ -13242,10 +13247,10 @@ If сеуште изберете да го исклучите ажурирања
1324213247

1324313248
<!-- Automatic text extraction complete. -->
1324413249

13245-
<phrasecount>2507</phrasecount>
13250+
<phrasecount>2508</phrasecount>
1324613251

13247-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13248-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13249-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13252+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13253+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13254+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1325013255

1325113256
</pdData>

App/PhotoDemon/Languages/Master/MASTER.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>en-US</langid>
88
<langname>English (US) - MASTER COPY</langname>
9-
<langversion>8.9.152</langversion>
9+
<langversion>8.9.163</langversion>
1010
<langstatus>Automatically generated from PhotoDemon's source code</langstatus>
1111

1212
<author>Tanner Helland</author>
@@ -11487,6 +11487,11 @@ I sincerely apologize for this inconvenience, but unfortunately there is nothing
1148711487

1148811488
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1148911489

11490+
<phrase>
11491+
<original>lock aspect ratio</original>
11492+
<translation></translation>
11493+
</phrase>
11494+
1149011495
<phrase>
1149111496
<original>transform quality</original>
1149211497
<translation></translation>
@@ -11572,7 +11577,7 @@ I sincerely apologize for this inconvenience, but unfortunately there is nothing
1157211577
<translation></translation>
1157311578
</phrase>
1157411579

11575-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11580+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1157611581

1157711582
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1157811583

@@ -13169,10 +13174,10 @@ If you still choose to disable updates, don't forget to visit photodemon.org fro
1316913174

1317013175
<!-- Automatic text extraction complete. -->
1317113176

13172-
<phrasecount>2507</phrasecount>
13177+
<phrasecount>2508</phrasecount>
1317313178

13174-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13175-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13176-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13179+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13180+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13181+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1317713182

1317813183
</pdData>

App/PhotoDemon/Languages/Polish.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>pl-PL</langid>
88
<langname>Polski</langname>
9-
<langversion>8.0.37</langversion>
9+
<langversion>8.0.38</langversion>
1010
<langstatus>Complete</langstatus>
1111

1212
<author>Ryszard</author>
@@ -11548,6 +11548,11 @@ Przepraszamy za tę niedogodność, ale niestety %2 nie może nic zrobić ze sk
1154811548

1154911549
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1155011550

11551+
<phrase>
11552+
<original>lock aspect ratio</original>
11553+
<translation></translation>
11554+
</phrase>
11555+
1155111556
<phrase>
1155211557
<original>transform quality</original>
1155311558
<translation>Tryb przekształcania</translation>
@@ -11633,7 +11638,7 @@ Przepraszamy za tę niedogodność, ale niestety %2 nie może nic zrobić ze sk
1163311638
<translation>Przekształcanie stałej bieżącej warstwy (wielkość, kąt i nachylenie). Ta akcja nie jest konieczna, ale jeśli renderowanie okna ekranu jest powolne, może zwiększyć wydajność.</translation>
1163411639
</phrase>
1163511640

11636-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11641+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1163711642

1163811643
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1163911644

@@ -13239,10 +13244,10 @@ Jeśli nadal decydujesz się na wyłączenie aktualizacji, nie zapomnij odwiedzi
1323913244

1324013245
<!-- Automatic text extraction complete. -->
1324113246

13242-
<phrasecount>2507</phrasecount>
13247+
<phrasecount>2508</phrasecount>
1324313248

13244-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13245-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13246-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13249+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13250+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13251+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1324713252

1324813253
</pdData>

App/PhotoDemon/Languages/Simplified_Chinese.xml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<langid>zh-CN</langid>
88
<langname>简体中文</langname>
9-
<langversion>8.2.75</langversion>
9+
<langversion>8.2.76</langversion>
1010
<langstatus>完成</langstatus>
1111

1212
<author>ChenLin(QQ:289778005)</author>
@@ -11542,6 +11542,11 @@ I sincerely apologize for this inconvenience, but unfortunately there is nothing
1154211542

1154311543
<!-- Toolpanel_Measure.frm contains 15 phrases. 10 were duplicates of existing phrases, so only 5 new phrases were written to file. -->
1154411544

11545+
<phrase>
11546+
<original>lock aspect ratio</original>
11547+
<translation></translation>
11548+
</phrase>
11549+
1154511550
<phrase>
1154611551
<original>transform quality</original>
1154711552
<translation>转换质量</translation>
@@ -11627,7 +11632,7 @@ I sincerely apologize for this inconvenience, but unfortunately there is nothing
1162711632
<translation>使当前图层变换(大小,角度和剪切)永久性的。这个动作是从来没有必需的,但如果视渲染是呆滞,它可以提高性能。</translation>
1162811633
</phrase>
1162911634

11630-
<!-- Toolpanel_MoveSize.frm contains 27 phrases. 10 were duplicates of existing phrases, so only 17 new phrases were written to file. -->
11635+
<!-- Toolpanel_MoveSize.frm contains 28 phrases. 10 were duplicates of existing phrases, so only 18 new phrases were written to file. -->
1163111636

1163211637
<!-- Toolpanel_Paintbrush.frm contains 8 phrases. All were duplicates of existing phrases, so no new phrases were written to file. -->
1163311638

@@ -13234,10 +13239,10 @@ If you still choose to disable updates, don't forget to visit photodemon.org fro
1323413239

1323513240
<!-- Automatic text extraction complete. -->
1323613241

13237-
<phrasecount>2507</phrasecount>
13242+
<phrasecount>2508</phrasecount>
1323813243

13239-
<!-- As of this build, PhotoDemon contains 5102 phrases. -->
13240-
<!-- 2595 are duplicates, so only 2507 unique phrases have been written to file. -->
13241-
<!-- These 2507 phrases contain approximately 11574 total words. -->
13244+
<!-- As of this build, PhotoDemon contains 5103 phrases. -->
13245+
<!-- 2595 are duplicates, so only 2508 unique phrases have been written to file. -->
13246+
<!-- These 2508 phrases contain approximately 11577 total words. -->
1324213247

1324313248
</pdData>

0 commit comments

Comments
 (0)