myrect.width = 0: no change; myrect.width = 1: that works. Bug?

A Corona inconsistency? Or is it me?

If I can set a display.rect’s width or height to anything, it stands that I should be able to set it to 0. But when I do, the change does not seem to happen. On screen, the object is drawn at its original size. If I set the width to 1, the change happens.

Suspecting something in your code that says: if object.width == 0 then don't redraw

How do I report such bugs BTW (24 hour Corona noob)?

Alex
[import]uid: 3473 topic_id: 2276 reply_id: 302276[/import]

To report a bug click on ISSUES (Right next to your username) in the left area of the search field at the top of this forum. [import]uid: 5712 topic_id: 2276 reply_id: 6875[/import]

Setting a DisplayObject’s width or height to 0 is ignored. Use object.isVisible = false to simulate an object that is gone.

-Tom [import]uid: 7559 topic_id: 2276 reply_id: 7041[/import]