File tree Expand file tree Collapse file tree 6 files changed +22
-8
lines changed Expand file tree Collapse file tree 6 files changed +22
-8
lines changed Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ ## v2.1 (Upcoming)
4+ ### Willow1 Mod Menu v1.1
5+ - Fixed that Boolean and Slider options didn't properly detect changes.
6+
7+ ## v2.0: Support Gunner
8+ - Initial Release
9+
10+ ## Older
11+ A few v1.x versions were released as ad hoc prereleases, while BL1 support was being properly merged
12+ into unrealsdk.
Original file line number Diff line number Diff line change 55
66[project ]
77name = " willow1_mod_manager"
8- version = " 2.0 "
8+ version = " 2.1 "
99authors = [{ name = " bl-sdk" }]
1010
1111[tool .sdkmod ]
Original file line number Diff line number Diff line change 169169 "Wildcat" ,
170170]
171171
172- PREVIOUS_RELEASE_NAMES = []
172+ PREVIOUS_RELEASE_NAMES = [
173+ "Support Gunner" ,
174+ ]
173175
174176
175177@cache
Original file line number Diff line number Diff line change 88 "__version_info__" ,
99]
1010
11- __version_info__ : tuple [int , int ] = (1 , 0 )
11+ __version_info__ : tuple [int , int ] = (1 , 1 )
1212__version__ : str = f"{ __version_info__ [0 ]} .{ __version_info__ [1 ]} "
1313__author__ : str = "bl-sdk"
1414
Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ def play_sound(
218218
219219 # The same sound is used for both sliders and spinners.
220220 focused = find_focused_item (obj )
221- if populator .is_spinner (idx ):
221+ if not populator .is_slider (idx ):
222222 # We can do spinners more easily first
223223 choice : float = obj .GetVariableNumber (focused + ".mChoice" )
224224 populator .on_spinner_change (obj , idx , int (choice ))
Original file line number Diff line number Diff line change @@ -166,17 +166,17 @@ def draw_slider(
166166 )
167167 self .drawn_options .append (option )
168168
169- def is_spinner (self , idx : int ) -> bool :
169+ def is_slider (self , idx : int ) -> bool :
170170 """
171- Checks if the option drawn at a given index is a spinner .
171+ Checks if the option drawn at a given index is a slider .
172172
173173 Args:
174174 idx: The index to check.
175175 Returns:
176- True if the option is a spinner .
176+ True if the option is a slider .
177177 """
178178 try :
179- return isinstance (self .drawn_options [idx ], SpinnerOption )
179+ return isinstance (self .drawn_options [idx ], SliderOption )
180180 except IndexError :
181181 return False
182182
You can’t perform that action at this time.
0 commit comments