Hidden object display as black

Bug #1989148 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
New
High
Unassigned

Bug Description

From the Smalltalk sketch editor, hidden object are displayed with black color when the user want to edit the style. It should be rendered as light grey.
Should check on regular DrGeo window.

Revision history for this message
hilaire (hilaire-fernandes) wrote :

Refactor with this code (avoid duplication):

DrGeoCurveMorph>>forcedVisibility: aBoolean
"We force this hidden morph to be visible.
Necessary when one wants to edit the style of an hidden morph
In the process we change its color to inform the user this is a hidden item temporaly set visible."
 style isNotHidden ifTrue: [^false].
 aBoolean
  ifTrue:
   [color _ DrGTypeColor hiddenColor.
   borderColor _ DrGTypeColor hiddenColor.
   self show]
  ifFalse:
   [self hide.
   color _ style color.
   borderColor _ style borderColor].
 ^true

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers