Skip to content

Commit

Permalink
Remove linux platform specific note
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend-Master committed Dec 9, 2024
1 parent 5bd115a commit 5f30b49
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crates/tauri-cli/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
"format": "double"
},
"preventOverflow": {
"description": "Whether or not to prevent the window from overflowing the workarea\n\n ## Platform-specific\n\n - **Linux:** Prevent overflowing the monitor instead of workarea\n - **iOS / Android:** Unsupported.",
"description": "Whether or not to prevent the window from overflowing the workarea\n\n ## Platform-specific\n\n - **iOS / Android:** Unsupported.",
"anyOf": [
{
"$ref": "#/definitions/PreventOverflowConfig"
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri-schema-generator/schemas/config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@
"format": "double"
},
"preventOverflow": {
"description": "Whether or not to prevent the window from overflowing the workarea\n\n ## Platform-specific\n\n - **Linux:** Prevent overflowing the monitor instead of workarea\n - **iOS / Android:** Unsupported.",
"description": "Whether or not to prevent the window from overflowing the workarea\n\n ## Platform-specific\n\n - **iOS / Android:** Unsupported.",
"anyOf": [
{
"$ref": "#/definitions/PreventOverflowConfig"
Expand Down
1 change: 0 additions & 1 deletion crates/tauri-utils/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,6 @@ pub struct WindowConfig {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[serde(alias = "prevent-overflow")]
pub prevent_overflow: Option<PreventOverflowConfig>,
Expand Down
2 changes: 0 additions & 2 deletions crates/tauri/src/webview/webview_window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,6 @@ impl<'a, R: Runtime, M: Manager<R>> WebviewWindowBuilder<'a, R, M> {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
pub fn prevent_overflow(mut self) -> Self {
Expand All @@ -430,7 +429,6 @@ impl<'a, R: Runtime, M: Manager<R>> WebviewWindowBuilder<'a, R, M> {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
pub fn prevent_overflow_with_margin(mut self, margin: Size) -> Self {
Expand Down
2 changes: 0 additions & 2 deletions crates/tauri/src/window/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,6 @@ impl<'a, R: Runtime, M: Manager<R>> WindowBuilder<'a, R, M> {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
pub fn prevent_overflow(mut self) -> Self {
Expand All @@ -489,7 +488,6 @@ impl<'a, R: Runtime, M: Manager<R>> WindowBuilder<'a, R, M> {
///
/// ## Platform-specific
///
/// - **Linux:** Prevent overflowing the monitor instead of workarea
/// - **iOS / Android:** Unsupported.
#[must_use]
pub fn prevent_overflow_with_margin(mut self, margin: Size) -> Self {
Expand Down
1 change: 0 additions & 1 deletion packages/api/src/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2231,7 +2231,6 @@ interface WindowOptions {
*
* #### Platform-specific
*
* - **Linux:** Prevent overflowing the monitor instead of workarea
* - **iOS / Android:** Unsupported.
*/
preventOverflow?: boolean | PreventOverflowMargin
Expand Down

0 comments on commit 5f30b49

Please sign in to comment.