Skip to content

Commit

Permalink
Disable hotspots pan and zoom for new elements by default
Browse files Browse the repository at this point in the history
REDMINE-20673
  • Loading branch information
tf committed Aug 2, 2024
1 parent 5ded6e1 commit 969da80
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ editor.contentElementTypes.register('hotspots', {
});
this.input('invertTooltips', CheckBoxInputView);
this.input('enablePanZoom', SelectInputView, {
values: ['phonePlatform', 'always', 'never']
values: ['never', 'phonePlatform', 'always']
});
this.view(SeparatorView);
this.input('enableFullscreen', CheckBoxInputView, {
Expand All @@ -60,10 +60,6 @@ editor.contentElementTypes.register('hotspots', {
});
this.group('ContentElementPosition');
});
},

defaultConfig: {
enablePanZoom: 'phonePlatform'
}
});

Expand Down

0 comments on commit 969da80

Please sign in to comment.