mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Fix doc errors
This commit is contained in:
@@ -119,7 +119,7 @@ pub use {
|
||||
data::{input::*, output::*},
|
||||
grid::Grid,
|
||||
id::Id,
|
||||
input_state::InputState,
|
||||
input_state::{InputState, PointerState},
|
||||
layers::{LayerId, Order},
|
||||
layout::*,
|
||||
memory::Memory,
|
||||
|
||||
@@ -141,7 +141,7 @@ impl Response {
|
||||
|
||||
/// The widgets is being dragged.
|
||||
///
|
||||
/// To find out which button(s), query [`PointerState::button_down`]
|
||||
/// To find out which button(s), query [`crate::PointerState::button_down`]
|
||||
/// (`ui.input().pointer.button_down(…)`).
|
||||
pub fn dragged(&self) -> bool {
|
||||
self.dragged
|
||||
|
||||
@@ -39,7 +39,7 @@ impl Label {
|
||||
}
|
||||
|
||||
/// If `true`, the text will wrap at the `max_width`.
|
||||
/// By default [`wrap`] will be true in vertical layouts
|
||||
/// By default [`Self::wrap`] will be true in vertical layouts
|
||||
/// and horizontal layouts with wrapping,
|
||||
/// and false on non-wrapping horizontal layouts.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user