mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 14:50:03 -04:00
Improve documentation and logging
This commit is contained in:
@@ -479,7 +479,7 @@ impl ScrollArea {
|
||||
|
||||
/// This can be used to only paint the visible part of the contents.
|
||||
///
|
||||
/// `add_contents` is past the viewport, which is the relative view of the content.
|
||||
/// `add_contents` is given the viewport rectangle, which is the relative view of the content.
|
||||
/// So if the passed rect has min = zero, then show the top left content (the user has not scrolled).
|
||||
pub fn show_viewport<R>(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user