Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7895] iOS: Clearing backgroundImage turns off clipsToBounds

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2017-06-06T00:01:23.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sn/a
Componentsn/a
Labelsios
ReporterBlain Hamon
AssigneeEric Merriman
Created2012-03-06T12:25:17.000+0000
Updated2017-06-06T00:01:23.000+0000

Description

In -[TiUIView setBackgroundImage_:], the second-to-last line self.clipsToBounds = bgImage!=nil; indicates that clearing bgImage will turn off clipsToBounds, despite the possibility of subviews needing clipping or rounded corners needing clipping. This is NOT a regression, as this code has existed previously.

Comments

No comments

JSON Source