forked from 1b-agent/opencadstudio-upstream
Use a centered triangular ruler for measurement tools
This commit is contained in:
1 parent
ec53dfa34b
commit
05d95e2e72
2 files changed
+5
-3
No files matched your search
@@ -1,3 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-label="Measure" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M3 20L21 4M4 7h11M4 4v6M15 4v6" stroke="#B4B6B9" stroke-width="1.4"/><path d="M6 14l4 4M12 9l4 4" stroke="#6DB7ED" stroke-width="2"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-label="Triangular ruler" fill="none" stroke-linejoin="round">
|
||||
<path d="M3.5 3.5 20.5 20.5h-17Z M7.161165 12.338835v4.5h4.5Z" fill="#6DB7ED" fill-opacity=".16" fill-rule="evenodd"/>
|
||||
<path d="M3.5 3.5 20.5 20.5h-17Z" stroke="#B4B6B9" stroke-width="1.5"/>
|
||||
<path d="M7.161165 12.338835v4.5h4.5Z" stroke="#6DB7ED" stroke-width="1.1"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 419 B |
@@ -14,7 +14,7 @@ pub struct DistCommand {
|
||||
plane: WorkingPlane,
|
||||
}
|
||||
pub const ICON: IconKind =
|
||||
IconKind::Svg(include_bytes!("../../../../assets/icons/distance.svg"));
|
||||
IconKind::Svg(include_bytes!("../../../../assets/icons/measure.svg"));
|
||||
impl DistCommand {
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
|
||||
Reference in new issue
Block a user