mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
refactor: update WebGL image viewer and improve loading state handling
- Enhanced the ProgressiveImage component to utilize the new LoadingState enum for better loading state management. - Updated the WebGLImageViewerEngine to notify loading states using the LoadingState enum, improving clarity in loading messages. - Refactored spring animations to use the Transition type for better type safety. - Updated localization files to include new loading messages for WebGL operations in both English and Chinese. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import { factory } from '@innei/prettier'
|
||||
|
||||
export default factory({
|
||||
importSort: false,
|
||||
})
|
||||
export default {
|
||||
printWidth: 80,
|
||||
tabWidth: 2,
|
||||
useTabs: false,
|
||||
singleQuote: true,
|
||||
trailingComma: "all",
|
||||
arrowParens: "always",
|
||||
semi: false,
|
||||
endOfLine: "lf",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user