Skip to content

Commit 0e6b5cb

Browse files
WSH032FabianLars
andauthored
feat(tauri): re-export PixelUnit, PhysicalUnit, LogicalUnit (#14009)
Co-authored-by: Fabian-Lars <[email protected]>
1 parent a3dc424 commit 0e6b5cb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changes/export-PixelUnit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri": minor:enhance
3+
---
4+
5+
re-export `PixelUnit`, `PhysicalUnit`, `LogicalUnit`

crates/tauri/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ pub use {
222222
self::manager::Asset,
223223
self::runtime::{
224224
dpi::{
225-
LogicalPosition, LogicalRect, LogicalSize, PhysicalPosition, PhysicalRect, PhysicalSize,
226-
Pixel, Position, Rect, Size,
225+
LogicalPosition, LogicalRect, LogicalSize, LogicalUnit, PhysicalPosition, PhysicalRect,
226+
PhysicalSize, PhysicalUnit, Pixel, PixelUnit, Position, Rect, Size,
227227
},
228228
window::{CursorIcon, DragDropEvent, WindowSizeConstraints},
229229
DeviceEventFilter, UserAttentionType,

0 commit comments

Comments
 (0)