Skip to content

Commit

Permalink
Another fix for the segmented view regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Pinzon committed Dec 4, 2010
1 parent d69e310 commit 75e9c9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frameworks/desktop/renderers/segmented.js
Expand Up @@ -73,7 +73,8 @@ SC.BaseTheme.Segmented = SC.Renderer.extend({
update: function(cq) {
this.updateClassNames(cq);
cq.addClass(this.themeName);

cq.css({'text-align': this.align})

// this is actually performance-oriented. If we are completely changing the list of segments...
// it may be faster to just re-render them all in one go. Plus it's simple.
// Otherwise, we'd have to try to append or something like that,
Expand Down

0 comments on commit 75e9c9c

Please sign in to comment.