summaryrefslogtreecommitdiffstats
path: root/src/sandbox.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-01-13 20:33:59 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-13 20:33:59 +0100
commit597af315af714f3ecadd195516e80506504dcb26 (patch)
tree200d0447efc60c9066b762c9f1a00ce55d66def7 /src/sandbox.rs
parentd2b66805b350b4bd2ca5cb2818a6c05e3cfb5235 (diff)
parent507820a8438cec25074f92b72e118e0931fa7f9f (diff)
downloadiced-597af315af714f3ecadd195516e80506504dcb26.tar.gz
iced-597af315af714f3ecadd195516e80506504dcb26.tar.bz2
iced-597af315af714f3ecadd195516e80506504dcb26.zip
Merge pull request #1647 from iced-rs/feature/widget-request-redraw
Widget-driven animations
Diffstat (limited to '')
-rw-r--r--src/sandbox.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/sandbox.rs b/src/sandbox.rs
index 47bad831..40c699d9 100644
--- a/src/sandbox.rs
+++ b/src/sandbox.rs
@@ -140,13 +140,6 @@ pub trait Sandbox {
1.0
}
- /// Returns whether the [`Sandbox`] should be terminated.
- ///
- /// By default, it returns `false`.
- fn should_exit(&self) -> bool {
- false
- }
-
/// Runs the [`Sandbox`].
///
/// On native platforms, this method will take control of the current thread
@@ -203,8 +196,4 @@ where
fn scale_factor(&self) -> f64 {
T::scale_factor(self)
}
-
- fn should_exit(&self) -> bool {
- T::should_exit(self)
- }
}