Преглед изворни кода

HUE-8154 [dashboard] Dropping on the center of a widget should behave as southern edge drop

Enrico Berti пре 7 година
родитељ
комит
ba157b9
1 измењених фајлова са 1 додато и 4 уклоњено
  1. 1 4
      desktop/libs/dashboard/src/dashboard/templates/common_search.mako

+ 1 - 4
desktop/libs/dashboard/src/dashboard/templates/common_search.mako

@@ -3952,12 +3952,9 @@ $(document).ready(function () {
               overlapZoneSideToSide = 'E';
             }
 
-             if (coords.row < dimensions.row + sidesHeight) {
+            if (coords.row < dimensions.row + sidesHeight) {
               overlapZoneTopDown = 'N';
             }
-            else if (coords.row >= (dimensions.row + sidesHeight) && coords.row < (dimensions.row + sidesHeight + centerHeight)) {
-              overlapZoneTopDown = '';
-            }
             else {
               overlapZoneTopDown = 'S';
             }