diff --git a/light9/web/edit-choice.coffee b/light9/web/edit-choice.coffee --- a/light9/web/edit-choice.coffee +++ b/light9/web/edit-choice.coffee @@ -51,6 +51,7 @@ Polymer ] ready: -> + @uri = null setupDrop @$.box, @$.box, null, (uri) => @uri=uri @updateLabel() @@ -64,3 +65,6 @@ Polymer catch @uri + unlink: -> + @uri = null + diff --git a/light9/web/edit-choice.html b/light9/web/edit-choice.html --- a/light9/web/edit-choice.html +++ b/light9/web/edit-choice.html @@ -1,4 +1,5 @@ + @@ -7,9 +8,11 @@ #box { display: inline-block; background: #141448; + min-width: 10em; } #box.dragging { background: rgba(126, 52, 245, 0.0784313725490196); + box-shadow: 0 0 20px #ffff00; } a { color: #8e8eff; @@ -18,12 +21,11 @@ font-size: 145%; } -
- - {{label}} - + Effect: + +
diff --git a/light9/web/resource-display.html b/light9/web/resource-display.html --- a/light9/web/resource-display.html +++ b/light9/web/resource-display.html @@ -14,7 +14,10 @@ zpadding: 2px; } - {{label}} + + + {{label}} +