fix: ajust lint

This commit is contained in:
Gustavo Carvalho
2025-12-11 10:59:38 -03:00
parent 2b2b6dc5b8
commit a26346340e
2 changed files with 4 additions and 4 deletions

View File

@@ -76,7 +76,7 @@ fn show_window_at_cursor(window: &WebviewWindow) {
// Try to get cursor position - this may fail on Wayland
let cursor_result = window.cursor_position();
match cursor_result {
Ok(cursor_pos) => {
// X11 or XWayland - we can position at cursor

View File

@@ -9,7 +9,7 @@ export function DragHandle() {
const handleMouseDown = async (e: React.MouseEvent) => {
// Only handle left mouse button
if (e.button !== 0) return
try {
await getCurrentWindow().startDragging()
} catch (error) {
@@ -25,9 +25,9 @@ export function DragHandle() {
className="w-full flex justify-center pt-2 pb-1 cursor-grab active:cursor-grabbing select-none"
onMouseDown={handleMouseDown}
>
<div
<div
data-tauri-drag-region
className="w-16 h-1 rounded-full dark:bg-white/20 bg-black/20 pointer-events-none"
className="w-16 h-1 rounded-full dark:bg-white/20 bg-black/20 pointer-events-none"
/>
</div>
)