All tests pass.

This commit is contained in:
Samuel Guerra 2023-08-14 16:59:35 -03:00
parent 0fd5650046
commit 4beb67ac4b
4 changed files with 3 additions and 11 deletions

View File

@ -31,13 +31,5 @@
- CSS users work around this by coping effects onto the inner parts.
# WR Items
* Finish items implemented by webrender.
- Perspective and backface stuff.
- Touch events.
- Use `Spacedesk` to generate touch events.
* Review `RasterSpace::Screen` usage.
- Firefox controls this (only Screen if stacking-context is not animating).
- https://searchfox.org/mozilla-central/source/layout/painting/nsDisplayList.cpp#6675

View File

@ -1,4 +1,4 @@
error[E0599]: no method named `unknown` found for struct `margin_inputs__` in the current scope
error[E0599]: no method named `unknown` found for struct `zero_ui::properties::margin_inputs__` in the current scope
--> cases/widget_new/unknown_field.rs:7:13
|
7 | unknown: 0,

View File

@ -1706,7 +1706,7 @@ impl FrameBuilder {
/// Record the `offset` in the current context and [`push_debug_dot`] after render.
///
/// [`push_debug_dot`]: self::push_debug_dot
/// [`push_debug_dot`]: Self::push_debug_dot
pub fn push_debug_dot_overlay(&mut self, offset: PxPoint, color: impl Into<RenderColor>) {
if let Some(offset) = self.transform.transform_point(offset) {
self.debug_dot_overlays.push((offset, color.into()));

View File

@ -1174,7 +1174,7 @@ impl DisplayItem {
&filters.iter().map(|f| f.to_wr()).collect::<Vec<_>>(),
filter_datas,
filter_primitives,
wr::RasterSpace::Screen,
wr::RasterSpace::Screen, // Local disables sub-pixel AA for performance (future perf.)
wr::StackingContextFlags::empty(),
)
}