336 Commits over 183 Days - 0.08cph!
Shortcuts defined on static classes are now treated as Window shortcuts if not specified
Revert ComponentList changes for now. This seems to break things for everyone 😅
ComponentList no longer breaks when changing the parent class of a Component to something that *isn't* Component. Resolves Facepunch/sbox-issues#6152
Stylesheets @import-ed with a path relative to the local path will also hotload now
Stylesheets @import-ed by other stylesheets now hotload properly. Resolves Facepunch/sbox-issues#5317
Shortcuts now run on GraphicsItems.
Can now multi-select resources in the asset picker of a list entry to select multiple items at once. Resolves Facepunch/sbox-issues#5934
https://files.facepunch.com/CarsonKompon/2024/August/07_14-28-ConcreteRiograndeescuerzo.mp4
Formatter somehow removed usings
Added Search to Library Manager. Allows you to filter through both installed or available Libraries.
https://files.facepunch.com/CarsonKompon/2024/August/06_16-43-MiserlyCockerspaniel.mp4
Update AssetList Context Menu to use proper Delete shortcut name
Release all Editor Shortcuts when toggling Play Mode
Update GameObjectNode and AssetList Context Menus to use proper shortcuts for Duplicate
Pull default tags for GameTagsControlWidget from CollisionRules. Only display GameObject-related tags for GameTags, not ITagSet.
Remove old Application.AllowShortcuts
Don't wrap cursor when holding middle/right mouse button in 2D editor view
Don't show editor keybind warning when empty. Resolves Facepunch/sbox-issues#6074
Removed some empty functions now that they have been moved to Keybinds
Added Position slider to Gradient Editor widget. Also added Delete shortcut.
https://files.facepunch.com/CarsonKompon/2024/August/01_14-22-HalfMoth.mp4
Added warning icon to Editor Keybind widget with tooltip telling you if two binds share the same key(s).
https://files.facepunch.com/CarsonKompon/2024/August/01_13-28-InfiniteHarvestmouse.png
Make Asset Browser use Editor binds since they have no reason to be separate.
Make CTRL+A in Asset List a Shortcut
Add CTRL+A shortcut to Select All in scene
Determine major Key Names from NativeKeyCode before anything else. Fixes non-english keyboard layouts (Facepunch/sbox-issues#6044)
Added shortcut for pause (CTRL+F5)
Don't use Shortcut as type "Window" when forcing Shortcut . Fixes F5 not being called when game view is in focus.
Be a bit more explicit with CTRL+C/V/X so other shortcuts work.
Don't send Ctrl+C/V/X shortcuts when in a text field (since you probably only wanna do that in the text field). Resolves Facepunch/sbox-issues#6057
Prevent merging folders into current directory when dragging
Prevent dragging into same folder
Can now move multiple files from File Explorer into Asset Browser in one drag
Can now resize Editor Keybinds window to see the full list
Added support for renaming folders via the Asset Browser.
Clicking and Dragging Folders in the Asset Browser now updates the asset so it is reflecting the new path.
Added "Current Project" to Special group in Asset Browser
https://files.facepunch.com/CarsonKompon/2024/July/31_19-14-MindlessEnglishpointer.png
Added Drag-and-Drop support to Folders in the Asset Browser
https://files.facepunch.com/CarsonKompon/2024/July/31_19-25-SmoggyIndianrockpython.mp4
Add EditorShortcuts.BlockInputs. Block Shortcuts while right/middle clicking on Scene Viewport.
Invoke shortcuts when focused on a line edit if the shortcut has a CTRL or ALT modifier (Fixes CTRL+S in a textedit)
Fix `video` getting called twice from F6 bind
Added Clear button to Editor Keybinds (allowing you to remove binds)
https://files.facepunch.com/CarsonKompon/2024/July/31_18-00-EmbarrassedHoki.png
Draw Camera Speed Overlay in Scene Viewport when changing the speed with mouse wheel
https://files.facepunch.com/CarsonKompon/2024/July/31_16-58-MonstrousIrishredandwhitesetter.mp4
Show how many assets/icons would be rebuilt when right clicking a folder. Don't show option at all if there are no assets in the folder.
https://files.facepunch.com/CarsonKompon/2024/July/31_16-20-StaidMonkfish.png
Do the same thing with right clicking anywhere in the asset browser (for the current folder)
Update PackagePopup to show the information in a much cleaner way
https://files.facepunch.com/CarsonKompon/2024/July/31_13-50-DeliciousSora.png
Don't swallow shortcuts on same widget.
Make all tool shortcuts target the SceneViewportWidget
Fix NRE for non-english layouts
Move scene shortcuts back to static class now that they work properly (ty sol)
Add TargetOverride to ShortcutAttribute so you can target a certain widget type from another class. Useful for tools/extension classes.
Make Grid Shortcuts to type Window. Make mesh editor binds target SceneViewportWidget so the binds only register when focusing the scene viewport AND when in the correct tool.
Added EditorShortcuts.IsDown. Added binds for scene movement (W,A,S,D,Q,E) so they can be rebound in the editor.
Made F3 Shortcut type Window instead of Application.
Fixed W,E,R binds not working for object tool being set automatically
Set ObjectEditorTool alias back to "object". Resolves Facepunch/sbox-issues#6040
Move static Shortcuts that were on static class to the scene viewport (so you need to have it in focus)
Make F5 and F6 editor binds window-exclusive instead of application-wide
Force F1-F12 shortcuts to invoke properly when focused on Game tab.
Make SetTool and SetSubTool public so they are accessible to editor libraries