Fix cursor focus and selection in input box, add AWS env var warning box, and remove AWS Bedrock login banner
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
use pathfinder_color::ColorU;
|
||||
use galaxy_core::ui::appearance::Appearance;
|
||||
use galaxy_core::ui::theme::color::internal_colors;
|
||||
use galaxy_core::ui::theme::Fill;
|
||||
@@ -10,6 +9,7 @@ use galaxyui_core::elements::{
|
||||
use galaxyui_core::fonts::Weight;
|
||||
use galaxyui_core::text_layout::TextAlignment;
|
||||
use galaxyui_core::Element;
|
||||
use pathfinder_color::ColorU;
|
||||
|
||||
/// Content for a "you'll lose these features" opt-out confirmation dialog.
|
||||
pub struct FeatureOptOutDialog {
|
||||
@@ -62,7 +62,7 @@ pub fn render_feature_optout_dialog(
|
||||
let mut feature_list =
|
||||
Flex::column().with_cross_axis_alignment(CrossAxisAlignment::Stretch);
|
||||
for &item in dialog.features {
|
||||
let icon_el = ConstrainedBox::new(Icon::X.to_warpui_icon(feature_x_fill).finish())
|
||||
let icon_el = ConstrainedBox::new(Icon::X.to_galaxyui_icon(feature_x_fill).finish())
|
||||
.with_width(16.)
|
||||
.with_height(16.)
|
||||
.finish();
|
||||
|
||||
@@ -1,9 +1,5 @@
|
||||
use std::borrow::Cow;
|
||||
|
||||
use pathfinder_color::ColorU;
|
||||
use pathfinder_geometry::vector::vec2f;
|
||||
use ui_components::button::Button as ButtonComponent;
|
||||
use ui_components::{button, Component, MouseEventHandler, Options as _};
|
||||
use galaxy_core::ui::appearance::Appearance;
|
||||
use galaxy_core::ui::color::coloru_with_opacity;
|
||||
use galaxy_core::ui::color::contrast::relative_luminance;
|
||||
@@ -18,6 +14,10 @@ use galaxyui_core::keymap::Keystroke;
|
||||
use galaxyui_core::prelude::*;
|
||||
use galaxyui_core::ui_components::checkbox::Checkbox as WarpCheckbox;
|
||||
use galaxyui_core::ui_components::components::{UiComponent as _, UiComponentStyles};
|
||||
use pathfinder_color::ColorU;
|
||||
use pathfinder_geometry::vector::vec2f;
|
||||
use ui_components::button::Button as ButtonComponent;
|
||||
use ui_components::{button, Component, MouseEventHandler, Options as _};
|
||||
|
||||
const CALLOUT_WIDTH: f32 = 480.;
|
||||
const CALLOUT_BORDER_WIDTH: f32 = 1.;
|
||||
|
||||
Reference in New Issue
Block a user