Skip to content

Allow app launcher to collapse/expand (even in SC UIs)#53

Merged
gotmachine merged 1 commit into
KSPModdingLibs:devfrom
NathanKell:AppLauncheCollapseShow
Jul 13, 2022
Merged

Allow app launcher to collapse/expand (even in SC UIs)#53
gotmachine merged 1 commit into
KSPModdingLibs:devfrom
NathanKell:AppLauncheCollapseShow

Conversation

@NathanKell
Copy link
Copy Markdown
Contributor

Remaining wrinkle: the white bits of the Contracts and Messages buttons don't show when expanded in MC/AC/etc, because of how the rest of the applauncher has to have its canvas sorting order changed to render in those UIs. I'm not quite familiar enough with Unity UI to know if adding another Canvas to their buttons and leaving its override off except then would fix it, or if every child would need its canvas managed...

…n hide it in SC UIs like MC/RnD/etc. Remaining wrinkle is that the Contract and Messages icons lose their white overlays.
@NathanKell NathanKell changed the base branch from master to dev July 4, 2022 03:50
@gotmachine gotmachine merged commit 06c534c into KSPModdingLibs:dev Jul 13, 2022
@gotmachine
Copy link
Copy Markdown
Contributor

The issue with some button icons not showing is because they are using a sprite renderer (the icon is animated), and those are independent from the canvas in terms of sorting layer / order. Will try to fix it.

@NathanKell NathanKell deleted the AppLauncheCollapseShow branch July 15, 2022 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants