mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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,
|
||||
pipeline_id: wr::PipelineId,
|
||||
epoch: wr::Epoch,
|
||||
root_scroll_sensitivity: AxesScrollSensitivity,
|
||||
viewport_scroll_sensitivity: AxesScrollSensitivity,
|
||||
) -> Self {
|
||||
Self {
|
||||
wr: wr::DisplayListBuilder::new(pipeline_id),
|
||||
|
@ -110,7 +110,7 @@ impl DisplayList {
|
|||
content_size,
|
||||
pipeline_id,
|
||||
epoch,
|
||||
root_scroll_sensitivity,
|
||||
viewport_scroll_sensitivity,
|
||||
),
|
||||
spatial_tree_count: 0,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue