summaryrefslogtreecommitdiffhomepage
path: root/editor/inspect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/inspect.cpp')
-rw-r--r--editor/inspect.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/editor/inspect.cpp b/editor/inspect.cpp
index 0c45251b..f68df7d1 100644
--- a/editor/inspect.cpp
+++ b/editor/inspect.cpp
@@ -16,8 +16,6 @@ namespace floormat::entities {
namespace {
-using erased_constraints::is_magnum_vector;
-
const char* label_left(StringView label, char* buf, std::size_t len)
{
std::snprintf(buf, len, "##%s", label.data());
@@ -95,7 +93,7 @@ bool do_inspect_field(void* datum, const erased_accessor& accessor, field_repr r
}
else if constexpr(std::is_same_v<T, bool>)
ret = ImGui::Checkbox(label, &value);
- else if constexpr (!is_magnum_vector<T>)
+ else if constexpr (!Math::IsVector<T>())
{
auto [min, max] = accessor.get_range(datum).convert<T>();
constexpr auto igdt = IGDT<T>;