[squeak-dev] Morph corner radius set to 8 does surprising things
tim at rowledge.org
Tue Dec 6 18:15:05 UTC 2016
> On 06-12-2016, at 6:37 AM, Bob Arning <arning315 at comcast.net> wrote:
> It's not too unusual -- just old. There was, 15 years ago, some related code in HandMorph>>fullDrawOn: and your rounded-corner morph was correctly drawn, regardless of whether cachedCanvasHasHoles was set to true or false. Since that time, the drawing of rounded corners (and drop shadows as well, I guess) has changed a bit and now the value of cachedCanvasHasHoles does matter -- it needs to be true for rounded-corner things to draw correctly.
Thanks Bob. Oh the joys of software…
I’ll submit the modified version that appears to work and let’s see if it survives 15 years...
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: CPM: Change Programmer's Mind
More information about the Squeak-dev