mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-24 00:58:53 +00:00
Non-bordered buttons should retain their size, not shrink to fit.
This commit is contained in:
1 parent
c9f32ac77b
commit
2f1e9d76ec
1 file changed
+1
-1
+1
-1
@@ -591,7 +591,7 @@ CPButtonImageOffset = 3.0;
|
||||
- (CGRect)bezelRectForBounds:(CGRect)bounds
|
||||
{
|
||||
if (![self isBordered])
|
||||
return _CGRectMakeZero();
|
||||
return bounds;
|
||||
|
||||
var bezelInset = [self currentValueForThemeAttribute:@"bezel-inset"];
|
||||
|
||||
|
||||
Reference in new issue
Block a user