FTL-Hyperspace / FTL-Hyperspace

Hyperspace -- A mod for FTL: Faster than Light
Other
92 stars 22 forks source link

Laser Chainger has overlapping icons #49

Open adaneslavo opened 1 year ago

adaneslavo commented 1 year ago

[UI fix]

Chain icons is a "clock". Charger icons are square in amount depending on load number.

Laser Chainger is a mix of both, so icons are now overlapping (it was not a problem in vanilla, because there was no such kind of weapon). obraz

So there are two solutions for that:

  1. Make the weapons boxes higher, so 2 rows of icons could fit at once. It would look better, but also take much more space. It could automatically adjust if you grab Laser Chainger: [ Laser Chainger ] [ "clock" ] [ "square" "square" ]

  2. Put icons into stack, so they could be placed in one row separated by spaces like this: [ Laser Chainger ] [ "clock" "square" "square" ]

Nasa62 commented 1 year ago
  1. Make the weapons boxes higher

This is much harder (especially any sort of automatic adjustment)

  1. Put icons into stack

This would have to be researched more although adjusting this might affect non-clock weapons there might be a lot to reverse engineer & re-implement to write this.

This might be useful as some sort of future "lets expose stuff to Lua" and let someone write a custom rendering routine for different parts of the UI?

Nasa62 commented 1 year ago

For a better example of the issue can you please provide screenshots showing the current state & proposed state (if possible)

adaneslavo commented 1 year ago

I will try to paint something tomorrow.

adaneslavo commented 1 year ago

Something like this: Option A: Untitled1_20221117211007 Option B: Untitled1_20221117211121

adaneslavo commented 1 year ago

Currently first sqare icon is covered by the clock. If I have screenshot I will post.