Skip to content

Commit

Permalink
[Asset] Reset focal point marker if image is redrawn (#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
jheimbach authored Nov 2, 2023
1 parent 15afc7e commit e3d33d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/js/pimcore/asset/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ pimcore.asset.image = Class.create(pimcore.asset.asset, {

var html = '<img src="' + this.data.imageInfo['previewUrl'] + '">';
Ext.get(this.previewContainerId).setHtml(html);
this.marker = false;

let area = this.displayPanel.getEl().down('img');
if(area) {
Expand Down

0 comments on commit e3d33d5

Please sign in to comment.