Skip to content

Commit

Permalink
submenu strokes
Browse files Browse the repository at this point in the history
  • Loading branch information
Standarduser committed Feb 14, 2025
1 parent 6c9e07e commit 12dbedd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widgets/vis-homekittiles.html
Original file line number Diff line number Diff line change
Expand Up @@ -1394,8 +1394,8 @@

var xStart = (i * buttonWidth) - (buttonWidth / 2);
var xEnd = this.data.attr('strokeTarget');
var curve1 = ((Math.abs(xStart - xEnd) >= height) ? height : (height / 2));
var curve2 = ((Math.abs(xStart - xEnd) >= height) ? 0 : (height / 2));
var curve1 = ((Math.abs(xStart - xEnd) >= (height * 1.2)) ? height : (height / 2));
var curve2 = ((Math.abs(xStart - xEnd) >= (height * 1.2)) ? 0 : (height / 2));

%>
<svg class="submenue-stroke" width="<%= width %>px" height="<%= height %>px">
Expand Down

0 comments on commit 12dbedd

Please sign in to comment.