From 7e5b6ec1a7ef688444d6080c3e53d21e05d4a7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Sat, 24 Nov 2018 12:54:36 +0100 Subject: [PATCH] assets/{css/sally.css,js/ui/controls.js}, index.html: always show `advanced' UIs. --- assets/css/sally.css | 2 +- assets/js/ui/controls.js | 12 ------------ index.html | 4 ---- 3 files changed, 1 insertion(+), 17 deletions(-) diff --git a/assets/css/sally.css b/assets/css/sally.css index c69811d..7dc5e7e 100644 --- a/assets/css/sally.css +++ b/assets/css/sally.css @@ -201,4 +201,4 @@ textarea { font-size:12pt; width: 37vw; height: 300px; background: #333; color: .panke #save_el, .panke #vertical_checkbox, .panke #add_custom_el, -.panke #format_el { display: none !important; } +.panke #format_el { } diff --git a/assets/js/ui/controls.js b/assets/js/ui/controls.js index fcfeb11..81df41b 100644 --- a/assets/js/ui/controls.js +++ b/assets/js/ui/controls.js @@ -162,18 +162,6 @@ var controls = (function(){ this.update(state) } - controls.advanced = new BlurredCheckbox (advanced_checkbox) - controls.advanced.memorable = true - controls.advanced.use = function(state){ - console.log(state) - state = typeof state == "boolean" ? state : ! document.body.classList.contains('panke') - if (state) - document.body.classList.add('panke') - else - document.body.classList.remove('panke') - this.update(state) - } - // controls.fg = new BlurredCheckbox (fg_checkbox) diff --git a/index.html b/index.html index 95a7c13..2659442 100644 --- a/index.html +++ b/index.html @@ -62,12 +62,8 @@ new save load -
help
- _ advanced -
-
brush: 5 x 5
canvas: 100 x 30