Skip to content

Commit

Permalink
Remove left over linux platform specific note
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Dec 10, 2024
1 parent 5f30b49 commit d5c2e8c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions crates/tauri-runtime-wry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ use std::{
pub type WebviewId = u32;
type IpcHandler = dyn Fn(Request<String>) + 'static;

#[cfg(desktop)]
mod monitor;
#[cfg(any(
windows,
Expand Down Expand Up @@ -928,7 +929,6 @@ impl WindowBuilder for WindowBuilderWrapper {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
fn prevent_overflow(mut self) -> Self {
Expand All @@ -943,7 +943,6 @@ impl WindowBuilder for WindowBuilderWrapper {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
fn prevent_overflow_with_margin(mut self, margin: Size) -> Self {
Expand Down
2 changes: 0 additions & 2 deletions crates/tauri-runtime/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ pub trait WindowBuilder: WindowBuilderBase {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
fn prevent_overflow(self) -> Self;
Expand All @@ -281,7 +280,6 @@ pub trait WindowBuilder: WindowBuilderBase {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
fn prevent_overflow_with_margin(self, margin: dpi::Size) -> Self;
Expand Down

0 comments on commit d5c2e8c

Please sign in to comment.