mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 21:17:03 +00:00
wrap fix in if (_allowsTickMarkValuesOnly)
This commit is contained in:
+5
-2
@@ -312,8 +312,11 @@ var AFFINITY = 5;
|
||||
if (!trackRect || CGRectIsEmpty(trackRect))
|
||||
trackRect = bounds;
|
||||
|
||||
[self closestTickMarkValueToValue:[self doubleValue]]; // we only need the side effect …
|
||||
_currentTickMarkSegment = _closestTickMarkIndex; // … when "Only stop on tick marks" selected
|
||||
if (_allowsTickMarkValuesOnly)
|
||||
{
|
||||
[self closestTickMarkValueToValue:[self doubleValue]]; // we only need the side effect …
|
||||
_currentTickMarkSegment = _closestTickMarkIndex;
|
||||
}
|
||||
|
||||
if (_isCircular)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user