Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3c37554

Browse files
committed
handleCamera3d rm interface check
1 parent 7408232 commit 3c37554

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/components/modebar/buttons.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ modeBarButtons.resetCameraLastSave3d = {
338338
function handleCamera3d(gd, ev) {
339339
var button = ev.currentTarget;
340340
var attr = button.getAttribute('data-attr');
341-
if(attr !== 'resetLastSave' && attr !== 'resetDefault') return;
342-
343341
var fullLayout = gd._fullLayout;
344342
var sceneIds = fullLayout._subplots.gl3d;
345343
var aobj = {};

0 commit comments

Comments
 (0)