Add expand/compress image button on image view box (#15068)
* add zoom image button * enhance zoom algorithm & add translation * code structure * code structure * code structure * enhance grab performance * rm useless state * fix behavior on Firefox & scroll lock & horizontal scroll with mousewheel * remove scroll lock on MouseWheelEvent * code structure * enhance algorithm and code structure * rm Gemfile.lock from tree * codeclimate * fix a stupid mistake
This commit is contained in:
@ -3201,6 +3201,19 @@
|
||||
],
|
||||
"path": "app/javascript/mastodon/features/ui/components/video_modal.json"
|
||||
},
|
||||
{
|
||||
"descriptors": [
|
||||
{
|
||||
"defaultMessage": "Compress image view box",
|
||||
"id": "lightbox.compress"
|
||||
},
|
||||
{
|
||||
"defaultMessage": "Expand image view box",
|
||||
"id": "lightbox.expand"
|
||||
}
|
||||
],
|
||||
"path": "app/javascript/mastodon/features/ui/components/zoomable_image.json"
|
||||
},
|
||||
{
|
||||
"descriptors": [
|
||||
{
|
||||
@ -3259,4 +3272,4 @@
|
||||
],
|
||||
"path": "app/javascript/mastodon/features/video/index.json"
|
||||
}
|
||||
]
|
||||
]
|
Reference in New Issue
Block a user