Browse Source

Remove outdated comment

It's no longer limiting the width to be at least 10 pixels, due to how it has to scale with the width of the table.

Contributes to issue CURA-8686.
Ghostkeeper 3 years ago
parent
commit
7bc109d1f0
2 changed files with 2 additions and 2 deletions
  1. 1 1
      plugins/DigitalLibrary/resources/qml/Table.qml
  2. 1 1
      resources/qml/TableView.qml

+ 1 - 1
plugins/DigitalLibrary/resources/qml/Table.qml

@@ -79,7 +79,7 @@ Item
                         {
                             if(drag.active)
                             {
-                                let new_width = parent.parent.width + mouseX; //Don't go smaller than 10 pixels, to make sure you can still scale it back.
+                                let new_width = parent.parent.width + mouseX;
                                 let sum_widths = mouseX;
                                 for(let i = 0; i < headerBar.children.length; ++i)
                                 {

+ 1 - 1
resources/qml/TableView.qml

@@ -80,7 +80,7 @@ Item
                         {
                             if(drag.active)
                             {
-                                let new_width = parent.parent.width + mouseX; //Don't go smaller than 10 pixels, to make sure you can still scale it back.
+                                let new_width = parent.parent.width + mouseX;
                                 let sum_widths = mouseX;
                                 for(let i = 0; i < headerBar.children.length; ++i)
                                 {