Reorder tooltip/context items slightly

This commit is contained in:
2025-03-04 09:10:54 -07:00
parent a1ea2919f8
commit 3f157f33a5
2 changed files with 27 additions and 20 deletions

View File

@@ -124,7 +124,7 @@ impl DataType {
}
DataType::Double => {
let bytes: [u8; 8] = bytes.try_into().unwrap();
strs.push(format!("{:?}f", match endian {
strs.push(format!("{:?}", match endian {
object::Endianness::Little => f64::from_le_bytes(bytes),
object::Endianness::Big => f64::from_be_bytes(bytes),
}));