Skip to content

Commit 2dabbc5

Browse files
committed
Fix for issue with multiple wells
Credit: DrummerB#11
1 parent 1c673bd commit 2dabbc5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

BFColorPickerPopover.podspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |spec|
22
spec.name = 'BFColorPickerPopover'
3-
spec.version = '1.0.2'
3+
spec.version = '1.0.3'
44
spec.authors = {'Balázs Faludi' => '[email protected]'}
55
spec.homepage = 'https://github.com/DrummerB/BFColorPickerPopover'
66
spec.screenshot = 'http://i.imgur.com/Qm38i.png'

BFColorPickerPopover/BFPopoverColorWell.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ - (void)activateWithPopover {
7474
// Setup and show the popover.
7575
self.popover = [BFColorPickerPopover sharedPopover];
7676
self.popover.color = self.color;
77-
[self.popover showRelativeToRect:self.frame ofView:self.superview preferredEdge:self.preferredEdgeForPopover];
7877
self.popover.colorWell = self;
78+
[self.popover showRelativeToRect:self.frame ofView:self.superview preferredEdge:self.preferredEdgeForPopover];
7979
self.popover.onCloseDelegate = _onCloseDel;
8080

8181
// Disable the shared color panel, while the NSColorWell implementation is executed.

0 commit comments

Comments
 (0)