소스 검색

fix(doc): correct the doc of `content_protected()` (#7065)

Kevin Yue 2 년 전
부모
커밋
8fd9cfa1f2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/tauri/src/window.rs

+ 1 - 1
core/tauri/src/window.rs

@@ -512,7 +512,7 @@ impl<'a, R: Runtime> WindowBuilder<'a, R> {
     self
   }
 
-  /// Whether the window should always be on top of other windows.
+  /// Prevents the window contents from being captured by other apps.
   #[must_use]
   pub fn content_protected(mut self, protected: bool) -> Self {
     self.window_builder = self.window_builder.content_protected(protected);