editor: Fix signature help popover goes off screen (#28566)
Closes #27731 Uses similar logic as other popovers for layouting signature help popover. Release Notes: - Fixed case where signature help popover goes off the screen.
This commit is contained in:
@@ -30,6 +30,7 @@ pub const HOVER_REQUEST_DELAY_MILLIS: u64 = 200;
|
||||
|
||||
pub const MIN_POPOVER_CHARACTER_WIDTH: f32 = 20.;
|
||||
pub const MIN_POPOVER_LINE_HEIGHT: f32 = 4.;
|
||||
pub const POPOVER_RIGHT_OFFSET: Pixels = px(8.0);
|
||||
pub const HOVER_POPOVER_GAP: Pixels = px(10.);
|
||||
|
||||
/// Bindable action which uses the most recent selection head to trigger a hover
|
||||
|
||||
Reference in New Issue
Block a user