summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar anunge <aymeric.nunge@gmail.com>2021-02-12 21:52:20 +0200
committerLibravatar GitHub <noreply@github.com>2021-02-12 20:52:20 +0100
commit9e453843b26f2f73228316334298a4c608b2f050 (patch)
tree775e8a583079a1f54dd670581aa4664dc7bdcd42 /wgpu
parent2f10a1f2a2c92aada5d167d82e008588256b590f (diff)
downloadiced-9e453843b26f2f73228316334298a4c608b2f050.tar.gz
iced-9e453843b26f2f73228316334298a4c608b2f050.tar.bz2
iced-9e453843b26f2f73228316334298a4c608b2f050.zip
Touch support for `PaneGrid` and `PickList` (#650)
* touch events properly parsed and converted to logical size, button working * scrolling with a nice touch * fixed application state level touch cursor. panel_grid is touchable now. * format glicthes fixes * format glitches * tight format * fixed pane grid * fixing with upstream * Remove unused `touch` module from `iced_core` * Remove unused `crate::text` import in `iced_native` * Remove redundant match branch in `iced_winit` * Keep removed line break in `UserInterface::update` * Compute `text_size` only when bounds contains cursor in `overlay::menu` Co-authored-by: Héctor Ramón Jiménez <hector0193@gmail.com>
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/text.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/wgpu/src/text.rs b/wgpu/src/text.rs
index 78999cf8..4d92d9e9 100644
--- a/wgpu/src/text.rs
+++ b/wgpu/src/text.rs
@@ -19,6 +19,7 @@ impl Pipeline {
let default_font = default_font.map(|slice| slice.to_vec());
// TODO: Font customization
+ #[cfg(not(target_os = "ios"))]
#[cfg(feature = "default_system_font")]
let default_font = {
default_font.or_else(|| {