Skip to content

Commit

Permalink
zoom -> v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Narazaka committed Jan 30, 2016
1 parent a5cef1f commit 6bb18b4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "msview",
"version": "0.2.1",
"version": "0.3.0",
"description": "",
"main": "index.js",
"author": "Narazaka",
Expand Down
6 changes: 3 additions & 3 deletions src/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ html
link(rel="stylesheet", href="msview.css")
body
div.controls
//span.control
span.label 拡縮
input#scale(type="range", min="1", max="10", step="0.1", value="1")
span.control
span.label コントラスト
input#contrast(type="range", min="1", max="10", step="0.1", value="3")
span.control
span.label 明度
input#brightness(type="range", min="0", max="2", step="0.05", value="1")
span.control
span.label 拡縮
input#scale(type="range", min="1", max="10", step="0.1", value="1")
video#main(autoplay, style="-webkit-filter: invert(100%) brightness(1.2) contrast(3)")
3 changes: 3 additions & 0 deletions src/msview.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ window.onload = ->
scale?.value = config.scale
contrast?.value = config.contrast
brightness?.value = config.brightness
scale?.input()
contrast?.input()
brightness?.input()
catch
undefined

Expand Down

0 comments on commit 6bb18b4

Please sign in to comment.