Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

[[Bug 20666]] Property Inspector / Geometry: Remove All button #1829

Merged

Conversation

bwmilby
Copy link
Contributor

@bwmilby bwmilby commented Nov 11, 2017

The "Remove All" button on the Geometry tab of the Property Inspector currently has no effect.

The first change adds a parameter to the setValue call (where the button click is handled) to remove all geometries and expands that handler to match (depends on an earlier PR that is merged already).

The second change is to add a command to clear geometry keys that are not needed. If no geometry sides are set, then the other associated settings are removed. This new command is called from the revIDESetGeometry handler.

The third change is to add checks to prevent the revCalculateGeometryDistances from calculating distances for sides that are not needed.

…ot work

The first change adds a parameter to the setValue call (where the button click is handled) to remove all geometries and expands that handler to match (depends on an earlier PR that is merged already).

The second change is to add a command to clear geometry keys that are not needed.  If no geometry sides are set, then the other associated settings are removed.  This new command is called from the revIDESetGeometry handler.

The third change is to add checks to prevent the revCalculateGeometryDistances from calculating distances for sides that are not needed.
@montegoulding
Copy link
Member

@livecode-vulcan review ok 12c321c

@livecode-vulcan
Copy link

💙 review by @montegoulding ok 12c321c

@livecodepanos livecodepanos merged commit 077850d into livecode:develop-8.2 Nov 16, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants