Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JuliaRadzhabova committed Mar 28, 2024
1 parent aec3dd3 commit efaba2d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/pdfeditor/main/app/view/ImageSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ define([
{
imageProps: elValue,
sizeOriginal: imgsizeOriginal,
slideSize: PDFE.getController('Toolbar').currentPageSize,
slideSize: {width: me.api.get_PageWidth(), height: me.api.get_PageHeight()},
handler: function(result, value) {
if (result == 'ok') {
if (me.api) {
Expand Down
2 changes: 1 addition & 1 deletion apps/pdfeditor/main/app/view/ShapeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ define([
(new PDFE.Views.ShapeSettingsAdvanced(
{
shapeProps: elValue,
slideSize: PDFE.getController('Toolbar').currentPageSize,
slideSize: {width: me.api.get_PageWidth(), height: me.api.get_PageHeight()},
handler: function(result, value) {
if (result == 'ok') {
if (me.api) {
Expand Down

0 comments on commit efaba2d

Please sign in to comment.