Skip to content

Commit

Permalink
Merge pull request #2936 from ONLYOFFICE/fix/bugfix
Browse files Browse the repository at this point in the history
Show hints for textures
  • Loading branch information
JuliaRadzhabova authored Apr 15, 2024
2 parents b67add9 + 7d65140 commit 7538ea0
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/documenteditor/main/app/view/ShapeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2030,6 +2030,7 @@ define([
me._texturearray.push({
imageUrl: item.get_image(),
name : me.textureNames[item.get_id()],
tip : me.textureNames[item.get_id()],
type : item.get_id(),
// allowSelected : false,
selected: false
Expand Down Expand Up @@ -2065,6 +2066,7 @@ define([
restoreHeight: 174,
parentMenu: menu,
showLast: false,
delayRenderTips: true,
store: new Common.UI.DataViewStore(me._texturearray || []),
itemTemplate: _.template('<div class="item-texture"><img src="<%= imageUrl %>" id="<%= id %>"></div>')
});
Expand Down
2 changes: 1 addition & 1 deletion apps/documenteditor/main/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2945,7 +2945,7 @@
"DE.Views.ShapeSettings.txtDarkFabric": "Dark fabric",
"DE.Views.ShapeSettings.txtGrain": "Grain",
"DE.Views.ShapeSettings.txtGranite": "Granite",
"DE.Views.ShapeSettings.txtGreyPaper": "Gray Paper",
"DE.Views.ShapeSettings.txtGreyPaper": "Gray paper",
"DE.Views.ShapeSettings.txtInFront": "In front of Text",
"DE.Views.ShapeSettings.txtInline": "In line with text",
"DE.Views.ShapeSettings.txtKnit": "Knit",
Expand Down
2 changes: 2 additions & 0 deletions apps/presentationeditor/main/app/view/ShapeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1893,6 +1893,7 @@ define([
me._texturearray.push({
imageUrl: item.get_image(),
name : me.textureNames[item.get_id()],
tip : me.textureNames[item.get_id()],
type : item.get_id(),
// allowSelected : false,
selected: false
Expand Down Expand Up @@ -1928,6 +1929,7 @@ define([
restoreHeight: 174,
parentMenu: menu,
showLast: false,
delayRenderTips: true,
store: new Common.UI.DataViewStore(me._texturearray || []),
itemTemplate: _.template('<div class="item-texture"><img src="<%= imageUrl %>" id="<%= id %>"></div>')
});
Expand Down
2 changes: 2 additions & 0 deletions apps/presentationeditor/main/app/view/SlideSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1036,6 +1036,7 @@ define([
me._texturearray.push({
imageUrl: item.get_image(),
name : me.textureNames[item.get_id()],
tip : me.textureNames[item.get_id()],
type : item.get_id(),
// allowSelected : false,
selected: false
Expand Down Expand Up @@ -1071,6 +1072,7 @@ define([
restoreHeight: 174,
parentMenu: menu,
showLast: false,
delayRenderTips: true,
store: new Common.UI.DataViewStore(me._texturearray || []),
itemTemplate: _.template('<div class="item-texture"><img src="<%= imageUrl %>" id="<%= id %>"></div>')
});
Expand Down
2 changes: 2 additions & 0 deletions apps/presentationeditor/main/app/view/TextArtSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1607,6 +1607,7 @@ define([
me._texturearray.push({
imageUrl: item.get_image(),
name : me.textureNames[item.get_id()],
tip : me.textureNames[item.get_id()],
type : item.get_id(),
// allowSelected : false,
selected: false
Expand Down Expand Up @@ -1642,6 +1643,7 @@ define([
restoreHeight: 174,
parentMenu: menu,
showLast: false,
delayRenderTips: true,
store: new Common.UI.DataViewStore(me._texturearray || []),
itemTemplate: _.template('<div><img src="<%= imageUrl %>" id="<%= id %>"></div>')
});
Expand Down
2 changes: 2 additions & 0 deletions apps/spreadsheeteditor/main/app/view/ShapeSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1908,6 +1908,7 @@ define([
me._texturearray.push({
imageUrl: item.asc_getImage(),
name : me.textureNames[item.asc_getId()],
tip : me.textureNames[item.asc_getId()],
type : item.asc_getId(),
// allowSelected : false,
selected: false
Expand Down Expand Up @@ -1943,6 +1944,7 @@ define([
restoreHeight: 174,
parentMenu: menu,
showLast: false,
delayRenderTips: true,
store: new Common.UI.DataViewStore(me._texturearray || []),
itemTemplate: _.template('<div class="item-texture"><img src="<%= imageUrl %>" id="<%= id %>"></div>')
});
Expand Down
2 changes: 2 additions & 0 deletions apps/spreadsheeteditor/main/app/view/TextArtSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -1601,6 +1601,7 @@ define([
me._texturearray.push({
imageUrl: item.get_image(),
name : me.textureNames[item.get_id()],
tip : me.textureNames[item.get_id()],
type : item.get_id(),
// allowSelected : false,
selected: false
Expand Down Expand Up @@ -1636,6 +1637,7 @@ define([
restoreHeight: 174,
parentMenu: menu,
showLast: false,
delayRenderTips: true,
store: new Common.UI.DataViewStore(me._texturearray || []),
itemTemplate: _.template('<div><img src="<%= imageUrl %>" id="<%= id %>"></div>')
});
Expand Down

0 comments on commit 7538ea0

Please sign in to comment.