Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #401 - Implement proposed changes to zorder behaviour #408

Merged
merged 2 commits into from
Jul 12, 2018

Conversation

mickelson
Copy link
Owner

  • This changes the behaviour of the zorder attribute of image, text,
    and listbox objects. *** Layouts that use the zorder attribute
    may have to be updated as a result ***

  • zorder attribute can be set to any integer value. The value stays
    at whatever it is set to (previous behaviour was that all objects
    had a unique zorder value, forced in to the range of 0 to number
    of objects-1)

  • objects with a lower zorder are drawn first. Order remains stable
    when objects are assigned the same zorder.

  • Default zorder value is 0, with objects drawn in their order of
    creation

  • updates to loader/hyperspin.nut to address zorder changes

- This changes the behaviour of the zorder attribute of image, text,
  and listbox objects.  *** Layouts that use the zorder attribute
  may have to be updated as a result ***

- zorder attribute can be set to any integer value.  The value stays
  at whatever it is set to (previous behaviour was that all objects
  had a unique zorder value, forced in to the range of 0 to number
  of objects-1)

- objects with a lower zorder are drawn first.  Order remains stable
  when objects are assigned the same zorder.

- Default zorder value is 0, with objects drawn in their order of
  creation

- updates to loader/hyperspin.nut to address zorder changes
@mickelson mickelson merged commit e53655f into master Jul 12, 2018
@mickelson mickelson deleted the new_zorder branch July 12, 2018 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant