#82 javascript convertion changes
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user