archomeda / csl-scrollable-toolbar Goto Github PK
View Code? Open in Web Editor NEWAdds a button that allows you to extend the toolbar to full width
Home Page: http://steamcommunity.com/sharedfiles/filedetails/?id=451700838
License: Other
Adds a button that allows you to extend the toolbar to full width
Home Page: http://steamcommunity.com/sharedfiles/filedetails/?id=451700838
License: Other
The toolbar is only filled after an asset type has been selected. The code that patches the toolbar, has already run before this is done by the player. Therefore, no panels are found, and no patch has been done.
The recent addition or fix in Cities Skylines that enabled mouse scrolling on the toolbar, does not enable scrolling everywhere, like this mod used to do in its early days before I removed it. It needs investigation whether or not it's possible to re-add this feature.
There have been reports that the following exception is thrown when loading a game, although not always. Which is weird since these methods are only called when exiting a game. More investigation is needed before I can nail down the problem.
A Mod caused an error [ModException]
Details:
System.IndexOutOfRangeException: Array index is out of range.
at ScrollableToolbar.LoadingExtension.UnpatchPanels () [0x00000] in <filename unknown>:0
at ScrollableToolbar.LoadingExtension.OnLevelUnloading () [0x00000] in <filename unknown>:0
at LoadingWrapper.OnLevelUnloading () [0x00000] in <filename unknown>:0
ModException: A Mod caused an error
Apparently the XmlSerializer does not work correctly sometimes. The cause is currently unknown. This exception prevents the mod from loading properly.
A Mod caused an error [ModException]
Details:
System.Xml.XmlException: Document element did not appear. Line 1, position 1.
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlReader.MoveToContent () [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSerializationReaderInterpreter.ReadRoot () [0x00000] in <filename unknown>:0
at System.Xml.Serialization.XmlSerializer.Deserialize (System.Xml.Serialization.XmlSerializationReader reader) [0x00000] in <filename unknown>:0
ModException: A Mod caused an error
Apparently the game uses different widths for the toolbar for different screen resolutions. As can be seen on this screenshot, on a 1440x900 resolution, the toolbar has a width of ~773 instead of the expected ~859 in the asset editor. It has been reported that it does have the expected ~859 width ingame.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.