[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSScroller won't always redraw itself
From: |
Nicola Pero |
Subject: |
Re: NSScroller won't always redraw itself |
Date: |
Wed, 10 Apr 2002 00:40:13 +0100 (BST) |
> Hi,
>
> If {NSScroller -setFloatValue:knobProportion:] is called with a changed
> knobProportion but an unchanged floatValue the internal values will be
> updated, but it won't redraw itself. The reason is that
> -setFloatValue:knobProportion: sets the knobProportion and then calls
> -setFloatValue: to set the floatValue and redraw, but the
> -setFloatValue: thinks that nothing changed and doesn't redraw. I've
> attached a patch that fixes this.
Thanks - applied