Permalink
Browse files

Tiles expand by default. Not sure I want to keep this change

1 parent 54e380d commit c7a40aae1ae2bb0150c1593aa4273121b8588875 @imathis committed Mar 14, 2013
Showing with 4 additions and 4 deletions.
  1. +0 −1 assets/javascripts/modules/site.coffee
  2. +1 −0 assets/javascripts/modules/tiles.coffee
  3. +3 −3 index.html
@@ -57,7 +57,6 @@ site = Backbone.View.extend
@model.set foreground: foreground if foreground?
if background?
@model.set background: background
- _.delay @tiles.toggleExposed, 500
foreground
setUrl: ->
@@ -4,6 +4,7 @@ tiles = Backbone.View.extend
@model.on 'change:foreground', @updateForeground, this
@model.on 'change:background', @updateBackground, this
@model.set background: [360, 100, 100, 0] unless @model.get('background')
+ _.delay @toggleExposed, 1000
events:
'click .expose' : 'toggleExposed'
View
@@ -14,10 +14,10 @@
<div id="hslpicker">
<div class="frame">
<div id='tiles' class='color-tiles'>
- <div class='foreground tile selected' data-name='foreground'>
+ <div class='foreground tile selected' data-name='foreground' title='Adjust foreground tile'>
<div class='foreground-color tile'></div>
</div>
- <div class='background tile' data-name='background'>
+ <div class='background tile' data-name='background' title='Adjust background tile'>
<div class='background-color tile'></div>
</div>
<div class='bgs'>
@@ -26,7 +26,7 @@
<div class='bg dark' title='Black' data-color='[0,0,0,1]'></div>
<div class='bg random' title='Random' data-color='random'></div>
</div>
- <div class='expose' title='Show background color'></div>
+ <div class='expose' title='show/hide background tile'></div>
</div>
<div id='picker' class='sliders'>
<div class="slider"><div id='h-slider'><div class='handle'></div></div></div> <input id='h'>

0 comments on commit c7a40aa

Please sign in to comment.