Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Picture caching support, part 1 (of 2). #3332

Merged
merged 10 commits into from Nov 23, 2018

Add method to get float value from property id.

  • Loading branch information
gw3583 committed Nov 22, 2018
commit 83e4c3ce8c05cafd11bd84f3ed19fb7925468a02
@@ -112,6 +112,15 @@ impl SceneProperties {
}
}
}

pub fn get_float_value(
&self,
id: PropertyBindingId,
) -> Option<f32> {
self.float_properties
.get(&id)
.cloned()
}
}

/// A representation of the layout within the display port for a given document or iframe.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.