#82 javascript convertion changes
parent
fd503ab41a
commit
835a345560
|
@ -145,7 +145,7 @@ class LeftPanelHandlers {
|
|||
clickZoom () {
|
||||
if (this.updateLeftPanel('tool_zoom')) {
|
||||
this.svgCanvas.setMode('zoom');
|
||||
this.editor.workarea.css('cursor', this.editor.zoomInIcon);
|
||||
this.editor.workarea.style.cursor = this.editor.zoomInIcon;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -301,7 +301,7 @@ class TopPanelHandlers {
|
|||
*/
|
||||
clickWireframe () {
|
||||
$id('tool_wireframe').pressed = !$id('tool_wireframe').pressed;
|
||||
this.editor.workarea.toggleClass('wireframe');
|
||||
this.editor.workarea.classList.toggle('wireframe');
|
||||
|
||||
const wfRules = $('#wireframe_rules');
|
||||
if (!wfRules.length) {
|
||||
|
|
Loading…
Reference in New Issue