XCOM 2
127 ratings
Row-Based Scrolling Speed Wotc
 
Rate  
Favorite
Favorited
Unfavorite
Tags:  Ui
File Size
Posted
Updated
0.203 MB
Sep 9, 2017 @ 7:01pm
Sep 12, 2017 @ 1:12am
9 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Row-Based Scrolling Speed Wotc

Subscribed
Unsubscribe
Description
Makes scrolling lists much easier :
- When pointer is on the list : each mousewheel notch scrolls by one row.
- When pointer is on the scrollbar itself : each mousewheel notch scrolls by one page.
(Alternativly you can click on the tiny scrollbar's up/down buttons)

Ini options
...\steam\steamapps\workshop\content\268500\1131906393\Config\XCOM_RowBasedScrollSpeedWotc.ini
- ScrollSpeed (integer) : number of row to scroll for each mousewheel notch
- InterplationDuration (float) : duration of the interpolation/animation in second (0 will disable interpolation completely)
- InterplationUpdateRate (float) : in seconds (ie : 1 divided by desired framerate).
- InteractiveAreaPadding (int) : padding for scrollbar's hitbox, in pixels.

Compatibility
Override UIScrollbar. Not compatible with other scrollbar mods.


Changelog

1.32
- BugFix: scrollbar dont keep focus when thumb-dragging + release outside (that led to per-page scrolling instead of per-row)
- BugFix: division by zero when InterplationDuration=0

1.31
- BugFix: works correctly with UIColorSelector as parent

1.3
- New: Added padding to scrollbar's hitbox, to make scroll-per-page and thmub-dragging easier.

1.2
- BugFix: scrolling failing when game paused
- BugFix: ActionScript's scrollbar's behavior override modded behavior after thumb-dragging.
- BugFix: ActionScript's scrollbar's behavior when cursor was on scrollbar.
- New: Added scroll per page

1.1
Added interpolation

1.0
Initial release
< >
41 Comments
Toxic Frog  [author] Jan 24 @ 9:58pm 
@大魔王 You mean it can only scroll by one page using a controller ?
大魔王 Jan 23 @ 10:52pm 
@Toxic Frog
Controller D-PAD=When pointer is on the scrollbar itself : each mousewheel notch scrolls by one page.
Delran Sep 25, 2017 @ 9:40pm 
I waited all my life to see that mod happens
Zyxpsilon Sep 23, 2017 @ 9:33pm 
Bof.. i won't be adding secondary scripts to that "Encyclopedia" Mod anyway.. the GFX/Flash parts in that device are already tricky enough & throwing an extra wrench is that process could collapse the whole structural Panelling steps.
The scroll behavior is strange but i can live with it.
Thanks for explaining so clearly. ;)
Toxic Frog  [author] Sep 23, 2017 @ 9:26pm 
@Zyxpsilon The interface/contract should be the same as vanilla scrollbar.
ie: to add a scrollbar to an ui element, you have to override UIPanel.OnMouseEvent to handle mousewheel events, and call UiScrollbar.OnMouseScrollEvent from there.
You also have to assign a delegate to scrollbar's onPercentChangeDelegate field (or onCalculatedValueChangeDelegate), so you can make your element react to the scrolling amount.
Nice mod btw.
Zyxpsilon Sep 23, 2017 @ 7:29pm 
Is it possible this Hud-Tool has an indirect impact on the secondary (right side) panel scroll-bar behavior beyond its normal function within the Archives?

Since i use that device to implement the "LAByrinth" mod... my embedded components (TechTree Index, etc) weren't attached to a scroller since the height extent of some sizing didn't require "auto-moves" principle. While other areas DO need such a direct "Mouse-Scrolling" feature as well (Scroll-Bar activates).. but these aren't proper LIST(s) of button/choices (left side) and just operate with tall (-er than the default space) string/text content(s).

Sooooo, i need to move completely to the (narrow) scroller grab instead of just hovering the mouse anywhere *on* that isolated panel (linked to the clicked choice made on the left) to move up/down rapidly.

If so.. can you fix it?
Bazzy2077 Sep 22, 2017 @ 3:16am 
This is a damn god send! Especially if you have a ton of cosmetic mods installed, thank you!
Endspire Sep 17, 2017 @ 8:34pm 
Good mod, works as intended :sectoid:
Sirabot Sep 14, 2017 @ 9:21pm 
I'd like to stop in randomly to thank you for this mod and it's features. It's eased so much of my stress. Again, thank you.
ADVENT Avenger Sep 14, 2017 @ 11:33am 
Thumb dragging as in click and scroll down? All the methods are terrible in test mode. But if you cant i understand, thanks