9-patch opacity bug

Bugs will be moved here once resolved.

Post » Fri Jan 16, 2015 6:51 am

Problem Description
9-patch object's corner lines do not follow the opacity set for the object
Bug screenshot.jpg


Attach a Capx
Uploaded

Description of Capx
The .capx does not do anything, just open it and preview it on Google Chrome or export as universal Windows 8.1 and preview on the phone.

Steps to Reproduce Bug
  • place a 9-patch object with default settings in your project
  • set the opacity to 50

Observed Result
Notice how the lines that separate the margin from the center do not follow the set opacity.

Expected Result
I expect the object to have all it's elements' opacity the same.

Affected Browsers
  • Chrome: YES
  • FireFox: ?
  • Internet Explorer: ?

Operating System and Service Pack
Windows 8.1 Pro

Construct 2 Version ID
194.2 64 bit
You do not have the required permissions to view the files attached to this post.
Black Bobby The Hole RPG game Greenlit with 303 votes.
B
38
S
9
G
1
Posts: 173
Reputation: 3,231

Post » Fri Jan 16, 2015 10:05 am

Closing as not a bug. The 'Seams' property is set to 'Overlap'. See the manual entry. This deliberately renders a 1px overlap on the edges to ensure seamless rendering, but it has this effect when changing the opacity, so you'll need to use 'Exact' seams.
Scirra Founder
B
402
S
238
G
89
Posts: 24,628
Reputation: 196,023

Post » Fri Jan 16, 2015 10:14 am

Awesome, I had the same issue and hadn't spotted that in the manual, thanks
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Sat Jan 17, 2015 1:26 am

Thanks, I did not see that. Sorry.
Black Bobby The Hole RPG game Greenlit with 303 votes.
B
38
S
9
G
1
Posts: 173
Reputation: 3,231


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest