We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d99b44b commit 1f19699Copy full SHA for 1f19699
src/components/modebar/manage.js
@@ -187,9 +187,8 @@ function getButtonGroups(gd) {
187
if(typeof b === 'string') {
188
if(DRAW_MODES.indexOf(b) !== -1) {
189
if(
190
- // fullLayout._has('ternary') ||
191
- fullLayout._has('mapbox') ||
192
- fullLayout._has('cartesian')
+ fullLayout._has('mapbox') || // draw shapes in paper coordinate (could be improved in future to support data coordinate, when there is no pitch)
+ fullLayout._has('cartesian') // draw shapes in data coordinate
193
) {
194
dragModeGroup.push(b);
195
}
0 commit comments