![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
|
|
Thread Tools | Display Modes |
08-12-19, 06:25 AM
|
#11 | |
|
Swabbie
![]() Join Date: Jul 2019
Posts: 11
Downloads: 10
Uploads: 0
|
Quote:
The problem is the inconsistency of displaying the opening and closing of the SOAN. We open and close the book with our left hand. The right page should appear on the cover and the left page should appear on the left. It closes in the same way - the left page should disappear and the cover should appear in place of the right page. I rummaged through the scripts and so far I have discovered a logical error here \Silent Hunter 5\data\Scripts\MenuPage\page layout.py. if Pagelayout_SOAN.Handles.Length == 0: handle = Pagelayout_SOAN.AddMoveFixedSizeHandle() handle.SetSnapParent( Pagelayout_SOAN_Tab, MenuItemWrapper.LocationPresets.TopLeft ) size = Pagelayout_SOAN_Tab.Size handle.Resizability = MenuItemWrapper.ResizabilityTypes.NoAspectRatioCon straint handle.Resize( size.Width, size.Height, False ) handle2 = Pagelayout_SOAN.AddMoveFixedSizeHandle() handle2.SetSnapParent( Pagelayout_SOAN_LeftTab, MenuItemWrapper.LocationPresets.TopLeft ) size2 = Pagelayout_SOAN_LeftTab.Size handle2.Resizability = MenuItemWrapper.ResizabilityTypes.NoAspectRatioCon straint handle2.Resize( size2.Width, size2.Height, False ) They (Tab and Left_Tab) are probably not handled properly in the future. After recognizing the ship, it’s convenient to shift the manual to the left to see only reference numbers and work with RAOBF. ![]() Addendum: This does not apply to modpack TWOS; it refers to the implementation of SOAN in a TDW mod. Hint: In order not to dig deeply, a checkbox for SOAN is created in User Charts next to default - flags. Check on will put SOAN in the starting place. Hint2: Move the X button to the left page. It will look like Mac. Last edited by DasBootSim; 08-12-19 at 07:55 AM. Reason: addition |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
