1
0
mirror of git://f0xx.org/android_cast synced 2026-07-29 06:18:42 +03:00
This commit is contained in:
Anton Afanasyeu
2026-05-28 14:10:09 +02:00
parent 2b7397edd2
commit eebee1864d
2 changed files with 180 additions and 67 deletions

View File

@@ -11,7 +11,7 @@
})();
</script>
<link rel="stylesheet" href="/app/androidcast_project/crashes/assets/css/app.css">
<link rel="stylesheet" href="hub.css?v=20260527t">
<link rel="stylesheet" href="hub.css?v=20260527v">
<link rel="stylesheet" href="hub-logo-layers.css">
</head>
<body class="hub-page">
@@ -687,7 +687,7 @@
widget.style.left = Math.max(0, ev.clientX - drag.dx) + 'px';
widget.style.top = Math.max(0, ev.clientY - drag.dy) + 'px';
} else {
var minW = 280, minH = 210;
var minW = 1, minH = 1;
var dx = ev.clientX - drag.x;
var dy = ev.clientY - drag.y;
var left = drag.left, top = drag.top, width = drag.width, height = drag.height;
@@ -704,7 +704,7 @@
widget.style.left = Math.max(0, left) + 'px';
widget.style.top = Math.max(0, top) + 'px';
widget.style.width = width + 'px';
widget.style.minWidth = width + 'px';
widget.style.minWidth = '';
widget.style.transform = 'none';
}
});