191 Commits over 882 Days - 0.01cph!
Don't let mousewheel up/down execute double clicks
Add support for word-spacing css property
Add hotload support for svgs
Support bodygroups for citizen skins
Fix text sometimes being truncated when it shouldn't
Often occurred in the main menu when a Text was updated from a razor state change
Improve consistency when deciding if to relayout truncated text
Handle thumbnail video hover slightly better
Only play video when hovering package
Fix strikethrough and underlines not drawing at small resolutions
Also a bit of cleanup around the area moving stuff to functions
Recalculate width of labels who've been truncated (#1116)
Run truncated labels through yoga again with the new measurements.
https://files.facepunch.com/crayz/1b2111b1/Photoshop_ongkU1whrx.png
Fix label's size, use self now that it's not a child
Fit edit/delete button icons in input actions page
Fix dropdown's popup size
Fix skin material not being applied to SceneModel clothes
SVG support in ui (#1030)
* Adds basic support for drawing pixel perfect SVG 1.2 images in UI
* Sample usage: <svg src="path/to/file.svg" /> (also see SvgTests.razor)
Allow multiple commands from in-game console
i.e. command1;command2;
Fix Game.Server not being filled in on server
Fix exception when Log.Error receives a null parameter
Don't land on the blank lobby page after leaving a game
Fixes the occasional blank menu on disconnect
Fix gamemode & map error report tags getting set to null or previously loaded game
Replace game template input obsoletes
Allow WebSocket uri schemes
Fix default value of slider entries in lobby game settings
Assign the slider's value after min & max so it knows what the clamp range is
Remove dead code
Update launch config tab titles when config changes
Fix css filters not accounting for margins
Apply scaling to text stroke width & line height
WebSurface's in-browser navigations will update the current url
Resolves sboxgame/issues/issues/2977
Fixes razor <style> blocks sometimes failing to update
We'd cache all stylesheets that occur at runtime then fail to update when trying to return to a stylesheet that existed previously, even if it's different than the block's present stylesheet. Resolves sboxgame/issues/issues/2999
Disable video settings in editor mode
Add letter-spacing transition
Add support for line-height css property
Supports px and % values
https://files.facepunch.com/crayz/1b0711b1/sbox-dev_JqHcXREoIW.mp4
Add emoji/linebreak test to text overflow test page
Fixes a bug with incorrect forced linebreak positions on fontruns with no linebreaks
Use break-all for server and lobby list titles for visual consistency
Fixes highlight not repainting consistently when text selection changes
Fix text selection not working on center and right aligned texts
Format everything in RichTextKit
Nothing changed except formatting. I forgot to do this when bringing it over, forcing it now so it's not a nuisance going forward (mostly spaces to tabs and looking at diffs)
Add support for `word-break` css property (#853)
Supports `normal` and `break-all` values. Normal will break by word, break-all will break by character.
https://files.facepunch.com/crayz/1b0211b1/sbox-dev_Yt8zD84LqS.mp4
Fixed inconsistency in text-shadows with multiple lines of text
https://files.facepunch.com/crayz/1b2311b1/Photoshop_ZFN5bkrhnW.png
Replace RichTextKit.dll with a stripped version of its source (#820)
Don't shrink the player count on server & lobby widget entries
Add support for text-overflow css property (#803)
text-overflow is now supported with `clip` or `ellipsis`
Add special character validation to package ident
Fixes mouse clicks getting eaten when they shouldn't
Swallow game input if window recently became active
Fix graphic settings changing volume
Unit tests for project templates (#784)
* Fixes compile errors in our extension & tool templates
* Updates Sandbox.Test csproj to copy over templates and base code needed for compiling games
* Added unit tests that fail if game/tool/extension templates do not compile
Fix ButtonGroup deleting its buttons + potential NRE
Added developer settings category
Settings menu improvements (#770)
* ButtonGroup can hold a value and treated as a form option
* Switch Video Mode, VSync, Anti-Aliasing, Texture Filtering, and Game Language from DropDown to ButtonGroup
* Each settings page has its own Restore Default/Cancel/Save Changes button
* Fixed Save Changes button not highlighting when things are changed
* Implement Restore Default action for all settings
* Added .is-label to Glass styles, used it for settings labels
* Stage keybind changes and only applied after pressing Save Changes
Move settings pages to Menu.Settings namespace
Remove inline setting label style, define it in stylesheet
Clean up avatar html/scss, use glass styles