Navigation Menu

Skip to content

Commit

Permalink
Merged master, added a temporary background picker fix for this branch
Browse files Browse the repository at this point in the history
The background picker relies on the CSS being loaded before it can correctly lay out its components.  Unfortunately the CSS plugin does not correctly build the CSS dependencies so they often load after the javascript has executed.  Added an inline style to the background picker until the CSS loader has been fixed.
  • Loading branch information
tantaman committed May 27, 2012
1 parent e381877 commit f8a0c4b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions client/src/ui/widgets/BackgroundPicker.coffee
Expand Up @@ -49,6 +49,10 @@ define(["vendor/backbone",
@$gradientPicker = @$el.find(".gradientPicker")
@$gradientPreview = @$el.find(".gradientPreview")

# TODO: this is a temp hack until we get the CSS plugin
# building correctly.
@$gradientPicker.css("width", 250)

bgOpts = @options.bgOpts or {}
bgOpts.change = (points, styles) =>
@_updateGradientPreview(styles)
Expand Down
2 changes: 1 addition & 1 deletion client/web/scripts/main-built.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions client/web/scripts/ui/widgets/BackgroundPicker.js

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

0 comments on commit f8a0c4b

Please sign in to comment.