mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
switch to shared image editor
This commit is contained in:
parent
228cefadd8
commit
4c97201a3c
15 changed files with 264 additions and 174 deletions
|
@ -227,10 +227,13 @@
|
|||
|
||||
function editImages(page, virtualFolder) {
|
||||
|
||||
require(['components/imageeditor/imageeditor'], function (ImageEditor) {
|
||||
require(['imageEditor'], function (imageEditor) {
|
||||
|
||||
imageEditor.show({
|
||||
|
||||
itemId: virtualFolder.ItemId,
|
||||
serverId: ApiClient.serverId()
|
||||
|
||||
ImageEditor.show(virtualFolder.ItemId, {
|
||||
theme: 'a'
|
||||
}).then(function () {
|
||||
reloadLibrary(page);
|
||||
});
|
||||
|
@ -297,7 +300,7 @@
|
|||
style += "min-width:33.3%;";
|
||||
}
|
||||
|
||||
html += '<div class="card backdropCard scalableCard backdropCard-scalable" style="' + style + '" data-index="' + index + '">';
|
||||
html += '<div class="card midBackdropCard scalableCard midBackdropCard-scalable" style="' + style + '" data-index="' + index + '">';
|
||||
|
||||
html += '<div class="cardBox visualCardBox">';
|
||||
html += '<div class="cardScalable visualCardBox-cardScalable">';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue