forked from 1b-agent/opencadstudio-upstream
Block Definition dialog: preview references, amber band
A selected block reference is previewed from its definition placed by the reference's transform; the no-objects band is amber. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
d69a5f0ac4
commit
367c89a2c8
2 files changed
+36
-8
No files matched your search
@@ -257,8 +257,9 @@ fn empty_band<'a>() -> Element<'a, Message> {
|
||||
)
|
||||
.padding([7, 10])
|
||||
.width(Fill)
|
||||
.style(|theme: &Theme| {
|
||||
let warn = theme.palette().warning.base.color;
|
||||
.style(|_: &Theme| {
|
||||
// Amber: the theme's warning colour is not a caution tone in every theme.
|
||||
let warn = iced::Color::from_rgb8(0xD9, 0xA4, 0x00);
|
||||
container::Style {
|
||||
background: Some(Background::Color(warn.scale_alpha(0.16))),
|
||||
border: Border {
|
||||
|
||||
Reference in new issue
Block a user