mirror of
https://github.com/transmission/transmission.git
synced 2026-05-08 09:39:08 +01:00
on Mac, it's NSRect, not CGRect
This commit is contained in:
@@ -64,8 +64,8 @@
|
||||
[fCheckAllButton setTitle: NSLocalizedString(@"All", "inspector -> check all")];
|
||||
[fUncheckAllButton setTitle: NSLocalizedString(@"None", "inspector -> check all")];
|
||||
|
||||
CGRect checkAllFrame = [fCheckAllButton frame];
|
||||
CGRect uncheckAllFrame = [fUncheckAllButton frame];
|
||||
NSRect checkAllFrame = [fCheckAllButton frame];
|
||||
NSRect uncheckAllFrame = [fUncheckAllButton frame];
|
||||
const CGFloat oldAllWidth = checkAllFrame.size.width;
|
||||
const CGFloat oldNoneWidth = uncheckAllFrame.size.width;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user