Skip to content

Commit d14a2fd

Browse files
authored
Codecleanup (#87)
* Use enum instead of magic string * Introduce a Zoom enum to replace magic numbers * Some more documentation * Animate actionbar showing up * metainfo * use getter/setters to manage color, zoom, and mono * Move data into a property with getters setters and document further * Fix mistake in handling loading * Update PO * Comment, remove unused, introduce more modular utils * Add in the new utils * misc * Save some precious bytes by using a uint8 instead of int64 for zoom * Do a beep if out of bound or insist on default * tiny detail * prep moving data to popover * move monospaced control to popover * move color handling to popover * Explicit version and order following fd specs * Change margins * Add accels for changing theme * Remove headerbar reference and document a bit * restore ref * Correct yolocode for color change accel * Fix accel clash * Move and tidy * move stuff around * let it build * add halloween theme * move headerbar into the view * Move monospacing into noteview * Use a dedicated ActionBar * Move popover widgets in a dedicated folder * ensure RedactedScript * Simplify a bit the scribble handling and introduce an editablelabel * Quicker delay * make sure there is no leftover state from toggling scribbly mode * update PO files
1 parent 0ce18eb commit d14a2fd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+9496
-8401
lines changed

data/Application.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ actionbar .themedbutton:focus {
6666
}
6767

6868
/* Obfuscate note */
69-
window.scribbly textview,
70-
window.scribbly editablelabel {
69+
.scribbly {
7170
font-family: "Redacted Script";
7271
}
7372

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)