branchsbox-iconify/mastercancel
14 Commits over 31 Days - 0.02cph!
Implement metadata, invalidate cache if version numbers don't match (so we can change things between updates)
Fix icons not fetching correctly
Prefer async IO operations
Allow configurable FileSystem for caching
Write to cache at the FS root directory
Allow file system cache to be set in Razor*
* S&box doesn't seem to call SetPropertyObject right now. Instead it just ToStrings everything and sends it through SetProperty so this won't actually function until that's fixed.
Merge branch 'master' into peter-r-g/fs-changes
Fix build error
Move cache FS to a library options class
Merge branch 'master' into peter-r-g/fs-changes
Merge pull request #3 from peter-r-g/peter-r-g/fs-changes
FileSystem cache changes
Remove hard-coded dimension stripping by passing `?width=100%` to the API
Fix NRE when fetching font color, fetch font color from current element (will cascade from parent)
Icons render at least 32x32 in size
Add support for `iconify-icon` alias
Make errors nicer when parsing icon name
Allow `icon` or `name` for property
Refactor fetching etc. into IconifyIcon + support non-tintable icons (e.g. twemoji)
Switch `name` over to `icon` in README to match standard Iconify element behaviour
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
Modify default styling to better match text, set dirty in OnLayout to re-render when size changes
Run texture fetching async, don't save anything if we failed to fetch icon