Mission Planner - showFormations popup cut-off

The common meeting place for SEOW veterans and noobs alike, sharing feedback, ideas and experiences.

Moderator: SEOW Developers

Post Reply
Rejsyg
Posts: 18
Joined: Sat 10 Sep 2022 2:14 pm

Mission Planner - showFormations popup cut-off

Post by Rejsyg »

Noticed a small issue with the pop up box that shows up when changing the formations on Chrome browser. Any formations beyond "C" are cut off in the box.
Image

Appears to be on line 25515, function showFormations, in MP-Head.js. Something that doesn't quite work the same way from the Internet Explorer days, or perhaps 645 pixels isn't enough for new formations that came around?

Managed to get it readable adding this after:

Code: Select all

formdiv.style.overflowY = 'auto'; // Added vertical scrolling for overflowing content
Image
IV/JG7_4Shades
Posts: 2237
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Re: Mission Planner - showFormations popup cut-off

Post by IV/JG7_4Shades »

Thanks, I'll check it out. You could be right about it being a grandfathered "feature" of the old IE technology. DOM/Javascript was in a very different state 20 years ago when we started!

Cheers
4S
IV/JG7_4Shades
SEOW Developer

Image
IV/JG7_4Shades
Posts: 2237
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Re: Mission Planner - showFormations popup cut-off

Post by IV/JG7_4Shades »

Fixed, as you suggested. MP v7.3.272 is now the latest.
IV/JG7_4Shades
SEOW Developer

Image
Rejsyg
Posts: 18
Joined: Sat 10 Sep 2022 2:14 pm

Re: Mission Planner - showFormations popup cut-off

Post by Rejsyg »

Thanks, I appreciate it :D
Post Reply