summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-15 12:06:23 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-15 12:06:23 +0200
commit5a4fb13495003be17d80ba47cbf54ad5e1114409 (patch)
tree04407485f91aa4a42191242386f3a2a3087d9e0d
parent3f9baa7272327cd143e6e2cfe56a14e31634a701 (diff)
parentd0fddf09b1e256a40e060e08039caac038dbaa6d (diff)
Merge branch 'master' of lmno:ascii
-rw-r--r--doc/irssi.txt2
-rw-r--r--js/draw.js14
2 files changed, 7 insertions, 9 deletions
diff --git a/doc/irssi.txt b/doc/irssi.txt
index b73ace1..baded1c 100644
--- a/doc/irssi.txt
+++ b/doc/irssi.txt
@@ -8,8 +8,6 @@
_____/ /_____ / / \ \ ____/ / ____/ /____/ /_____
___/ /__/ /_______\ \__/ /___/ // /____
__________________________________________________________________________
-
- ~ le irssi faq pour le amelioration des color codes sur l'irc plu parfait! ~
OPTIMIZE YOUR TERMINAL FOR COLOR CODES ON OSX
diff --git a/js/draw.js b/js/draw.js
index 407e1c8..9b0e3b9 100644
--- a/js/draw.js
+++ b/js/draw.js
@@ -111,18 +111,18 @@ var draw = (function(){
line(lex, [ xa[1][0], ya[1][0] ], [ xa[1][1], ya[1][1] ], erasing)
}
else {
- var last_point_mod = [], point_mod = []
var x_a = mod( last_point[0], w )
var y_a = mod( last_point[1], h )
var x_b = mod( point[0], w )
var y_b = mod( point[1], h )
+ var last_point_mod = [x_b, y_b], point_mod = [x_a, y_a]
line(lex, last_point_mod, point_mod, erasing)
- if (mirror_x) {
- line(lex, [w-last_point_mod[0], last_point_mod[1]], [w-point_mod[0], point_mod[1]], erasing)
- }
- if (mirror_y) {
- line(lex, [last_point_mod[0], h-last_point_mod[1]], [point_mod[0], h-point_mod[1]], erasing)
- }
+ // if (mirror_x) {
+ // line(lex, [w-last_point_mod[0], last_point_mod[1]], [w-point_mod[0], point_mod[1]], erasing)
+ // }
+ // if (mirror_y) {
+ // line(lex, [last_point_mod[0], h-last_point_mod[1]], [point_mod[0], h-point_mod[1]], erasing)
+ // }
}
last_point[0] = point[0]
last_point[1] = point[1]