Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Johnson committed Dec 18, 2015
1 parent 4c195bc commit f174103
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/css/literallycanvas.css

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

9 changes: 8 additions & 1 deletion scss/literallycanvas.scss
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,17 @@ $selectedColor: lighten(#3cb0fd, 20%);
position: absolute;
border-top: $basicBorder;
border-bottom: $basicBorder;
top: -100%;
width: 100%;
}

.literally.toolbar-at-bottom .polygon-toolbar {
top: -100%;
}

.literally.toolbar-at-top .polygon-toolbar {
top: 100%;
}

.literally .lc-options {
z-index: 1;
right: 0; left: $pickerWidth;
Expand Down
4 changes: 2 additions & 2 deletions src/optionsStyles/polygon-and-stroke-width.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ defineOptionsStyle 'polygon-and-stroke-width', React.createClass
hidePolygonTools = () =>
@setState({ inProgress: false });

unsubscribeFuncs.push lc.on 'lc-polygon-started', showPolygonTools
unsubscribeFuncs.push lc.on 'lc-polygon-stopped', hidePolygonTools
unsubscribeFuncs.push @props.lc.on 'lc-polygon-started', showPolygonTools
unsubscribeFuncs.push @props.lc.on 'lc-polygon-stopped', hidePolygonTools

componentWillUnmount: ->
@unsubscribe()
Expand Down

0 comments on commit f174103

Please sign in to comment.