Access to script costume

Bug #1498379 reported by hilaire on 2015-09-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II

Bug Description

From a script, we may want to access to the script item costume to adjust its style. For now it can be hacked that way (as long as the script accept one argument):

 ^ self costume1 app costumes
  detect: [ :each |each mathItem isScriptItem and: [each mathItem script == self ]]
  ifNone: [ nil ]

A better way need to implemented.

tags: added: script
removed: programming
Changed in drgeo:
milestone: wip → 17.07
status: New → Fix Committed
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers