height is CGFloat

This commit is contained in:
Riccardo Mottola 2020-12-12 02:20:01 +01:00
parent 0ff4adfd42
commit 4004f549d7
3 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ typedef enum {
GSToolbarClippedItemsButton *_clippedItemsMark;
unsigned int _borderMask;
NSRect _rectAvailable;
float _heightFromLayout;
CGFloat _heightFromLayout;
}
+ (NSUInteger) draggedItemIndex;

View file

@ -821,9 +821,9 @@ static NSUInteger draggedItemIndex = NSNotFound;
// Accessors private methods
- (float) _heightFromLayout
- (CGFloat) _heightFromLayout
{
float height = _heightFromLayout;
CGFloat height = _heightFromLayout;
if (_borderMask & GSToolbarViewBottomBorder)
{

View file

@ -40,7 +40,7 @@
- (void) _reload;
// Accessors
- (float) _heightFromLayout;
- (CGFloat) _heightFromLayout;
- (NSArray *) _visibleBackViews;
- (BOOL) _usesStandardBackgroundColor;