Skip to content

Commit

Permalink
Fix paradoxxxzero#34 (the off was not working)
Browse files Browse the repository at this point in the history
  • Loading branch information
paradoxxxzero committed May 12, 2014
1 parent eee9fdf commit f9c9700
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
4 changes: 2 additions & 2 deletions butterfly/scss/_fx.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$fg: #fff !default;
$shadow: 6px;
$shadow-alpha: .5;
$shadow: 6px !default;
$shadow-alpha: .5 !default;
.terminal{
text-shadow: 0 0 $shadow rgba($fg, $shadow-alpha);
transition: 200ms;
Expand Down
7 changes: 4 additions & 3 deletions butterfly/static/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions butterfly/static/main.min.js

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions coffees/term.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -359,13 +359,14 @@ class Terminal

return cancel(ev)

addEventListener "mousemove", sendMove.bind(this) if @normalMouse
sm = sendMove.bind(this)
addEventListener "mousemove", sm if @normalMouse

# x10 compatibility mode can't send button releases
unless @x10Mouse
addEventListener "mouseup", up = (ev) =>
sendButton ev
removeEventListener "mousemove", sendMove if @normalMouse
removeEventListener "mousemove", sm if @normalMouse
removeEventListener "mouseup", up
cancel ev
cancel ev
Expand Down
4 changes: 2 additions & 2 deletions sass/_fx.sass
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
/* along with this program. If not, see <http://www.gnu.org/licenses/>. */

$fg: #fff !default
$shadow: 6px
$shadow-alpha: .5
$shadow: 6px !default
$shadow-alpha: .5 !default

.terminal
text-shadow: 0 0 $shadow rgba($fg, $shadow-alpha)
Expand Down

0 comments on commit f9c9700

Please sign in to comment.