mirror of
https://github.com/Afilmory/afilmory
synced 2026-04-29 01:07:22 +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:
@@ -250,6 +250,8 @@
|
||||
"photo.share.text": "Check out this beautiful photo: {{title}}",
|
||||
"photo.share.title": "Share Photo",
|
||||
"photo.share.weibo": "Weibo",
|
||||
"photo.webgl.creatingTexture": "Creating texture...",
|
||||
"photo.webgl.loadingImage": "Loading image...",
|
||||
"photo.webgl.unavailable": "WebGL is unavailable, unable to render image",
|
||||
"photo.zoom.hint": "Double-tap or pinch to zoom",
|
||||
"slider.auto": "Auto",
|
||||
|
||||
Reference in New Issue
Block a user