Skip to content

Commit 2baa358

Browse files
committed
Fix - context menu for axes in 3D drawings
1 parent 1451a84 commit 2baa358

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
2. Fix - use proper "fixed" position for enlarged drawing
66
3. Fix - correctly extract TF1 parameter names
77
4. Fix - keep stat box when update histogram drawing
8+
5. Fix - context menu for axes in 3D drawings
89

910

1011
## Changes in 5.8.1

scripts/JSRootPainter.hist3d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
if (intersects)
215215
for (var n=0;n<intersects.length;++n) {
216216
var mesh = intersects[n].object;
217-
if (mesh.zoom) { kind = mesh.zoom; break; }
217+
if (mesh.zoom) { kind = mesh.zoom; p = obj_painter.frame_painter(); break; }
218218
if (mesh.painter && typeof mesh.painter.ShowContextMenu === 'function') {
219219
p = mesh.painter; break;
220220
}

0 commit comments

Comments
 (0)