diff options
author | Devine Lu Linvega <[email protected]> | 2018-12-10 16:00:18 +1200 |
---|---|---|
committer | Devine Lu Linvega <[email protected]> | 2018-12-10 16:00:18 +1200 |
commit | 82dd83d04439038e7a05d09ce0d74709154978b7 (patch) | |
tree | 733d3666c0daa6af83f1691fc946fb064275e305 | |
parent | 616a6e66b62de1771ebe7c36c837c367f4bf288e (diff) | |
download | Orca-82dd83d04439038e7a05d09ce0d74709154978b7.tar.gz Orca-82dd83d04439038e7a05d09ce0d74709154978b7.zip |
Removed extra draws
-rw-r--r-- | desktop/sources/scripts/terminal.js | 8 | ||||
-rw-r--r-- | examples/_midi.orca | 2 | ||||
-rw-r--r-- | examples/_udp.orca | 2 | ||||
-rw-r--r-- | examples/bang.orca | 2 | ||||
-rw-r--r-- | examples/converter.orca | 12 | ||||
-rw-r--r-- | examples/cycle.orca | 2 | ||||
-rw-r--r-- | examples/delay.orca | 4 | ||||
-rw-r--r-- | examples/filter.orca | 2 | ||||
-rw-r--r-- | examples/octave.orca | 2 | ||||
-rw-r--r-- | examples/pendulum.orca | 2 | ||||
-rw-r--r-- | examples/read+write.orca | 4 |
11 files changed, 17 insertions, 25 deletions
diff --git a/desktop/sources/scripts/terminal.js b/desktop/sources/scripts/terminal.js index 8173727..c5416bf 100644 --- a/desktop/sources/scripts/terminal.js +++ b/desktop/sources/scripts/terminal.js @@ -236,25 +236,17 @@ function Terminal (orca, tile = { w: 20, h: 30 }) { ctx.fillRect(x * tile.w, (y) * tile.h, tile.w, tile.h) ctx.fillStyle = this.theme.active.f_low } else if (styles.isPort === 'input') { // Input - ctx.fillStyle = this.theme.active.background - ctx.fillRect(x * tile.w, (y) * tile.h, tile.w, tile.h) ctx.fillStyle = this.theme.active.b_high } else if (styles.isPort === 'passive') { // Passive ctx.fillStyle = this.theme.active.b_med ctx.fillRect(x * tile.w, (y) * tile.h, tile.w, tile.h) ctx.fillStyle = this.theme.active.f_low } else if (styles.isPort === 'haste') { // Haste - ctx.fillStyle = this.theme.active.background - ctx.fillRect(x * tile.w, (y) * tile.h, tile.w, tile.h) ctx.fillStyle = this.theme.active.b_med } else { - ctx.fillStyle = this.theme.active.background - ctx.fillRect(x * tile.w, (y) * tile.h, tile.w, tile.h) ctx.fillStyle = this.theme.active.f_high } } else if (styles.isLocked) { - ctx.fillStyle = this.theme.active.background - ctx.fillRect(x * tile.w, (y) * tile.h, tile.w, tile.h) ctx.fillStyle = this.theme.active.f_med } else { ctx.fillStyle = this.theme.active.f_low diff --git a/examples/_midi.orca b/examples/_midi.orca index 6dfc927..e951903 100644 --- a/examples/_midi.orca +++ b/examples/_midi.orca @@ -1,5 +1,5 @@ ......................................... -.# MIDI #................................ +.#.MIDI.#................................ ......................................... ................################......... ................#..............#......... diff --git a/examples/_udp.orca b/examples/_udp.orca index fb75a09..0b48396 100644 --- a/examples/_udp.orca +++ b/examples/_udp.orca @@ -1,5 +1,5 @@ ......................................... -.# UDP #................................. +.#.UDP.#................................. ......................................... ......................................... .........Cf..............Cf.............. diff --git a/examples/bang.orca b/examples/bang.orca index 30a8077..5ee7ee8 100644 --- a/examples/bang.orca +++ b/examples/bang.orca @@ -1,5 +1,5 @@ ......................................... -.# BANG #................................ +.#.BANG.#................................ ......................................... ......................................... ......................................... diff --git a/examples/converter.orca b/examples/converter.orca index 8991084..f8d00b3 100644 --- a/examples/converter.orca +++ b/examples/converter.orca @@ -1,13 +1,13 @@ ......................................... .#.CONVERTER.#........................... ......................................... -.#.KEY.#................................. +.#.KEY.#.kVa............................. +......................................... +...Vk.................................... +..Aa4.................................... +..e7TABCDEFG............................. +....A.................................... ......................................... -.kVa..................................... ......................................... -..Vk..................................... -.Aa4..................................... -.e7TABCDEFG.............................. -...A..................................... ......................................... .........................................
\ No newline at end of file diff --git a/examples/cycle.orca b/examples/cycle.orca index cecd6f1..7dd3327 100644 --- a/examples/cycle.orca +++ b/examples/cycle.orca @@ -1,5 +1,5 @@ ......................................... -.# CYCLE #............................... +.#.CYCLE.#............................... ......................................... ......................U.................. ...............U.W....................... diff --git a/examples/delay.orca b/examples/delay.orca index 18f14c1..a3ee4f7 100644 --- a/examples/delay.orca +++ b/examples/delay.orca @@ -1,5 +1,5 @@ ......................................... -.# DELAY #............................... +.#.DELAY.#............................... ......................................... ......................................... .......2C4.....4C4.....8C4.....gC4....... @@ -10,4 +10,4 @@ ........*.......*........................ ......................................... ......................................... -......................................... +.........................................
\ No newline at end of file diff --git a/examples/filter.orca b/examples/filter.orca index 0366a1e..533bd20 100644 --- a/examples/filter.orca +++ b/examples/filter.orca @@ -1,5 +1,5 @@ ......................................... -.# FILTER.#.............................. +.#.FILTER.#.............................. ......................................... ......................................... ......................................... diff --git a/examples/octave.orca b/examples/octave.orca index e54358d..7f063fd 100644 --- a/examples/octave.orca +++ b/examples/octave.orca @@ -10,4 +10,4 @@ ......................................... ......................................... ......................................... -........................................
\ No newline at end of file +.........................................
\ No newline at end of file diff --git a/examples/pendulum.orca b/examples/pendulum.orca index a400b01..8467f48 100644 --- a/examples/pendulum.orca +++ b/examples/pendulum.orca @@ -1,5 +1,5 @@ ......................................... -.# PENDULUM #............................ +.#.PENDULUM.#............................ ......................................... ........U.......E......U................. ................J........................ diff --git a/examples/read+write.orca b/examples/read+write.orca index c60f47e..72e1d6e 100644 --- a/examples/read+write.orca +++ b/examples/read+write.orca @@ -1,5 +1,5 @@ ......................................... -.# READ WRITE.#.......................... +.#.READ.WRITE.#.......................... ......................................... .........C4..........C4.................. .........30O1230.....34T1230............. @@ -10,4 +10,4 @@ .........30X3........34P7................ ......................................... ......................................... -......................................... +.........................................
\ No newline at end of file |