Skip to content

Commit 60c9eb0

Browse files
committed
feat(window): 在 Linux 上添加缩略图窗口支持
- 将缩略图窗口功能从 macOS 扩展到 Linux(仅编译通过)
1 parent ccfcad4 commit 60c9eb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src-tauri/src/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ pub fn get_thumb_window(x: i32, y: i32) -> Window {
410410
None => {
411411
info!("Thumb window does not exist");
412412

413-
#[cfg(target_os = "macos")]
413+
#[cfg(any(target_os = "macos", target_os = "linux"))]
414414
let window = {
415415
let mut builder = WindowBuilder::new(
416416
handle,

0 commit comments

Comments
 (0)