userAlexcancel

605 Commits over 396 Days - 0.06cph!

9 Months Ago
Bail from SetIcon when no icon found Reset dirty bool at the start of SetIcon This prevents situations where OnAfterTreeRender is called multiple times and in turn SetIcon before the first one has finished and reset the dirty bool. Don't update Icon if it's passed the same value Fix weird formatting Add S&box .editorconfig dotnet format Merge pull request #1 from peter-r-g/peter-r-g/small-fixes Small Fixes
9 Months Ago
Cleanup Use iconify for icons, inventoryitem displays item count instead of name Smooth camera Z axis for small changes (better crouching, stairs, etc)
9 Months Ago
Formatting
9 Months Ago
Modify default styling to better match text, set dirty in OnLayout to re-render when size changes
9 Months Ago
Run texture fetching async, don't save anything if we failed to fetch icon
9 Months Ago
Remove unused, clean up
9 Months Ago
Initial Commit
9 Months Ago
Fix nullref inside RecipeLibrary if no recipes exist on an item Interaction refactor "Foundry simple" shader w/ point filtering Placeholder resource node model Basic resource node ent
9 Months Ago
Turn BaseStyles members into a table containing type, default value, and inheritance state, generate BaseStyles.Defaults Auto-generate layout cascading based on inheritance state Use BaseStyles.Default instead of hardcoding defaults Similar to `css-defaults` branch but this does it better - so I'm deleting that in favour of this. Rather than hard-coding the default value every time we fetch it: ```cs var value = Styles.BackgroundColor ?? Color.White; ``` We should be doing something like: ```cs var value = Styles.BackgroundColor ?? Default.BackgroundColor; ``` Provide default values as fallbacks for style transitions, use LerpProperty inside BaseStyles.FromLerp In FromLerp, check if the property we're trying to change is actually changing Prevents us from stomping property changes when a transition is running with `transition: all` if you have an animation running simulataneously Move default styles into `DefaultStyles`, make everything readonly VirtualScrollPanel uses DefaultStyles Only use fallback inside Lerp functions if from/to are null Move null checks into Lerp functions, remove logs Tidy up, use same code path for lerps Refer to default values in docstrings, inherited/cascading values lerp to their initial `from` values if `to` is unset Merge fixes, Name -> TypeName
9 Months Ago
Refer to default values in docstrings, inherited/cascading values lerp to their initial `from` values if `to` is unset
9 Months Ago
Tidy up, use same code path for lerps
9 Months Ago
Only use fallback inside Lerp functions if from/to are null Move null checks into Lerp functions, remove logs
9 Months Ago
VirtualScrollPanel uses DefaultStyles
9 Months Ago
Turn BaseStyles members into a table containing type, default value, and inheritance state, generate BaseStyles.Defaults Auto-generate layout cascading based on inheritance state Use BaseStyles.Default instead of hardcoding defaults Similar to `css-defaults` branch but this does it better - so I'm deleting that in favour of this. Rather than hard-coding the default value every time we fetch it: ```cs var value = Styles.BackgroundColor ?? Color.White; ``` We should be doing something like: ```cs var value = Styles.BackgroundColor ?? Default.BackgroundColor; ``` Provide default values as fallbacks for style transitions, use LerpProperty inside BaseStyles.FromLerp In FromLerp, check if the property we're trying to change is actually changing Prevents us from stomping property changes when a transition is running with `transition: all` if you have an animation running simulataneously Move default styles into `DefaultStyles`, make everything readonly
9 Months Ago
Generate Style.Unset(), start using IsSet()
9 Months Ago
Use separate map for menu scene, designed for that specific purpose
9 Months Ago
Remove nullability from public-facing BaseStyles properties We'll keep the internal nullable fields, allowing us to automatically refer back to default property values if these are null (these are now defined alongside the properties themselves). This means we don't have to keep remembering the default values for each CSS property and check for null manually each time - which is a massive pain in the ass and was spilling over into our menu addon(!)
10 Months Ago
Triangulate quads inside obj loader Conveyor is ModelEntity, uses model exported from Hammer w/ hotspot textures
10 Months Ago
Mirror UV when sampling inside filter - prevents ugly border around some elements when using `filter: blur()`
10 Months Ago
Fix chat Set tickrate in project settings Dev map update + full compile Use vmap inside menu scene Tweak menu card styling, don't filter
10 Months Ago
Squash merge of mainmenu branch
10 Months Ago
Default to using opposite value inside BaseStyles.Lerp functions if a value is null
10 Months Ago
PanelTransform.Lerp will handle null for us, we don't need to do it inside BaseStyles.Lerp
10 Months Ago
Pull Styles.FromLerp up to BaseStyles, auto-generate for all properties matching select types Add auto-generated BaseStyles.LerpProperty Update transition logic to use new auto-generated functions Handle box-shadow transitions / animations separately for now
10 Months Ago
Welcome screen link tweaks: "Wiki" becomes "Getting Started", move to top
10 Months Ago
UI: Add support for keyframed box shadows - should probably take a look at changing this so that we have consistent property support between transitions and animations
10 Months Ago
CSS: Flex shorthand support
10 Months Ago
CSS: Fix nesting inside `background` (fixes devcam)
10 Months Ago
CSS `background` shorthand no longer requires specific order, more compliant with spec
10 Months Ago
st&alone: Use test grid texture instead of non-existent burger billboard texture (moved to asset.party)
10 Months Ago
`background` shorthand color transition CSS `animation` shorthand, same syntax as web (https://drafts.csswg.org/css-animations/#animation) - any order
10 Months Ago
Can opt out of drag scrolling with `Panel.CanDragScroll = false;`, enabled by default (sboxgame/issues/issues/3491)
10 Months Ago
`@readonly` and `@editable` asset browser filters (sboxgame/issues/issues/3205)
10 Months Ago
Basic parsing support for CSS `background` shorthand Move position/length shorthand parsing into Parse.TryReadPositionAndSize (used for both mask & background shorthands) UI: don't clamp UVs in shader when BgRepeat mode is Clamp, fixes angled gradients Background angles conform to css spec - add offset to match +x as being 0 degrees instead of +y
10 Months Ago
Local transforms for hand info, we'll convert back to world transforms in managed after anchor transform changes
10 Months Ago
When loading game project (through welcome screen), if it fails to compile, don't immediately bail - load the project but don't show menu
10 Months Ago
Disable all game projects when entering content mode
10 Months Ago
Use s&box logo as window icon for welcome screen 👋
10 Months Ago
Revert "Don't clean up Release path when running processor codegen shit, fixes razor gen when testing release builds" This reverts commit 738d6ef11f5591743600177ff476b7d5138f9741.
10 Months Ago
Don't clean up Release path when running processor codegen shit, fixes razor gen when testing release builds
10 Months Ago
Max 32 chars for ident edit, don't show sandbox gamemode twice Add icons for all file menu items Add "Open in Editor" context menu option to ProjectRow, shows up for library/tools/addon projects Make StartScreen a BaseWindow, add HasMaximizeButton
10 Months Ago
StartScreen is no longer modal Cap IdentEdit to 16 chars Split out Explorer into 3 tabs now that our docking doesn't suck Draw active project at top of Project tab
11 Months Ago
When closing or opening a game project, run disconnect & close active menu
11 Months Ago
Always show "edit configurations" option in launcher regardless, open project settings or global config editor based on context
11 Months Ago
Make package selector modal Add IsContentMode to tools Global class
11 Months Ago
Load local menu when clicking menu toolbar button
11 Months Ago
Bring back launch configs with some changes: In content mode: - Load global configs from `launcher.launchconfigs` - Display "Edit Launch Configurations" option With game loaded: - Load project-specific configs from .addon (edit these in project settings)
11 Months Ago
Remove primary styling from SidebarLink, makes the content button gray
11 Months Ago
Single Game Project (#1129)
11 Months Ago
Fix local game menus