mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-09 10:50:42 +00:00
Tooltip on entire plus button
This commit is contained in:
parent
8e5639040a
commit
ba8d221a42
@ -299,7 +299,7 @@ class MathjaxProofTree extends MathjaxAdapter {
|
||||
// add tooltips to buttons
|
||||
const zoomIn = document.createElementNS("http://www.w3.org/2000/svg", "title");
|
||||
zoomIn.append(document.createTextNode("zoom in"));
|
||||
svg.getElementById("svg-pan-zoom-zoom-in")!.children[0].appendChild(zoomIn);
|
||||
svg.getElementById("svg-pan-zoom-zoom-in")!.appendChild(zoomIn);
|
||||
const zoomOut = document.createElementNS("http://www.w3.org/2000/svg", "title");
|
||||
zoomOut.append(document.createTextNode("zoom out"));
|
||||
svg.getElementById("svg-pan-zoom-zoom-out")!.appendChild(zoomOut);
|
||||
|
Loading…
Reference in New Issue
Block a user