mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Rename fn scroll2 to fn scroll (#4282)
This commit is contained in:
@@ -115,7 +115,7 @@ impl super::Demo for CodeExample {
|
||||
.open(open)
|
||||
.min_width(375.0)
|
||||
.default_size([390.0, 500.0])
|
||||
.scroll2(false)
|
||||
.scroll(false)
|
||||
.resizable([true, false])
|
||||
.show(ctx, |ui| self.ui(ui));
|
||||
}
|
||||
|
||||
@@ -372,7 +372,7 @@ impl super::Demo for InputTest {
|
||||
.default_width(800.0)
|
||||
.open(open)
|
||||
.resizable(true)
|
||||
.scroll2(false)
|
||||
.scroll(false)
|
||||
.show(ctx, |ui| {
|
||||
use super::View as _;
|
||||
self.ui(ui);
|
||||
|
||||
@@ -67,7 +67,7 @@ impl super::Demo for WindowOptions {
|
||||
.constrain(constrain)
|
||||
.collapsible(collapsible)
|
||||
.title_bar(title_bar)
|
||||
.scroll2(scroll2)
|
||||
.scroll(scroll2)
|
||||
.enabled(enabled);
|
||||
if closable {
|
||||
window = window.open(open);
|
||||
|
||||
Reference in New Issue
Block a user