Skip to content
This repository was archived by the owner on Jul 26, 2024. It is now read-only.

Commit af7f175

Browse files
authored
feat: LSDV-5560: Add image zoom hotkeys actions (#15)
2 parents a98e706 + 9d15adb commit af7f175

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

helpers/LSF/ImageView.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,12 @@ export const ImageView = {
140140
selectRect3PointToolByHotkey() {
141141
cy.get('body').type('{shift}{R}');
142142
},
143+
zoomInWithHotkey() {
144+
cy.get('body').type(`{ctrl}{+}`);
145+
},
146+
zoomOutWithHotkey() {
147+
cy.get('body').type(`{ctrl}{-}`);
148+
},
143149

144150
selectRectangleToolByButton() {
145151
this.toolBar

0 commit comments

Comments
 (0)