mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Update sensitivity naming in DisplayList::new
(#35694)
Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
6b69f381e0
commit
64e227005f
1 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ impl DisplayList {
|
||||||
content_size: units::LayoutSize,
|
content_size: units::LayoutSize,
|
||||||
pipeline_id: wr::PipelineId,
|
pipeline_id: wr::PipelineId,
|
||||||
epoch: wr::Epoch,
|
epoch: wr::Epoch,
|
||||||
root_scroll_sensitivity: AxesScrollSensitivity,
|
viewport_scroll_sensitivity: AxesScrollSensitivity,
|
||||||
) -> Self {
|
) -> Self {
|
||||||
Self {
|
Self {
|
||||||
wr: wr::DisplayListBuilder::new(pipeline_id),
|
wr: wr::DisplayListBuilder::new(pipeline_id),
|
||||||
|
@ -110,7 +110,7 @@ impl DisplayList {
|
||||||
content_size,
|
content_size,
|
||||||
pipeline_id,
|
pipeline_id,
|
||||||
epoch,
|
epoch,
|
||||||
root_scroll_sensitivity,
|
viewport_scroll_sensitivity,
|
||||||
),
|
),
|
||||||
spatial_tree_count: 0,
|
spatial_tree_count: 0,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue