diff --git a/tools/tool_image_rotation/js/render_tool_image_rotation.js b/tools/tool_image_rotation/js/render_tool_image_rotation.js index ab90288989..f455bc7958 100644 --- a/tools/tool_image_rotation/js/render_tool_image_rotation.js +++ b/tools/tool_image_rotation/js/render_tool_image_rotation.js @@ -273,10 +273,11 @@ const get_buttons = function(self) { }) // expanded check box + // rotate the image and expand the canvas, with this option active the image expand the background avoiding crop. // label const expanded_label = ui.create_dom_element({ element_type : 'label', - inner_html : self.get_tool_label('expanded') || 'Expanded', + inner_html : self.get_tool_label('expand') || 'Expand', parent : color_options_container }) @@ -289,18 +290,12 @@ const get_buttons = function(self) { expanded_checkbox.addEventListener('change', function(e) { if(e.target.checked === true){ - const image_size = self.main_element_image.getBoundingClientRect() self.image_container.style.width = image_size.width +'px' - - }else{ - self.image_container.style.width = self.image_container.dd_options.width +'px' self.image_container.style.height = self.image_container.dd_options.height +'px' - } - }) // apply_rotation_button_container diff --git a/tools/tool_image_rotation/register.json b/tools/tool_image_rotation/register.json index 60c90ed480..706cf6bc74 100644 --- a/tools/tool_image_rotation/register.json +++ b/tools/tool_image_rotation/register.json @@ -45,7 +45,7 @@ }, { "type": "dd151", - "section_id": "1", + "section_id": "-1", "section_tipo": "dd128", "from_component_tipo": "dd197" } @@ -75,13 +75,13 @@ "lg-nolan": [ { "start": { - "day": 14, + "day": 28, "hour": 20, - "time": 65062212940, + "time": 65074133255, "year": 2024, - "month": 4, - "minute": 55, - "second": 40 + "month": 8, + "minute": 7, + "second": 35 } } ] @@ -177,7 +177,7 @@ "inf": "Versión [component_input_text]", "dato": { "lg-nolan": [ - "1.0.1" + "1.0.2" ] } }, @@ -185,7 +185,7 @@ "inf": "Versión Dédalo mínima [component_input_text]", "dato": { "lg-nolan": [ - "6.1.0" + "6.2.6" ] } }, @@ -353,6 +353,51 @@ "lang": "lg-ell", "name": "bk_colour", "value": "Χρώμα φόντου" + }, + { + "lang": "lg-eng", + "name": "expand", + "value": "Expand" + }, + { + "lang": "lg-spa", + "name": "expand", + "value": "Expandir" + }, + { + "lang": "lg-cat", + "name": "expand", + "value": "Expandir" + }, + { + "lang": "lg-fra", + "name": "expand", + "value": "Élargir" + }, + { + "lang": "lg-ita", + "name": "expand", + "value": "Espandi" + }, + { + "lang": "lg-ell", + "name": "expand", + "value": "Επεκτείνετε το" + }, + { + "lang": "lg-deu", + "name": "expand", + "value": "Erweitern Sie" + }, + { + "lang": "lg-nep", + "name": "expand", + "value": "" + }, + { + "lang": "lg-eus", + "name": "expand", + "value": "" } ] ] @@ -370,9 +415,9 @@ "section_id": 29, "created_date": "2024-03-07 17:20:47", "section_tipo": "dd1340", - "modified_date": "2024-04-14 20:55:40", + "modified_date": "2024-08-28 20:07:35", "diffusion_info": null, "created_by_userID": -1, "section_real_tipo": "dd73", - "modified_by_userID": 1 + "modified_by_userID": -1 } \ No newline at end of file