Add input field size constant and improve sprite preview handling; adjust depth and add checks for empty graphics
This commit is contained in:
@@ -15,6 +15,8 @@ using ImGui::SameLine;
|
||||
using ImGui::Selectable;
|
||||
using ImGui::Text;
|
||||
|
||||
constexpr float kInputFieldSize = 30.f;
|
||||
|
||||
bool IsMouseHoveringOverEntity(const zelda3::GameEntity &entity,
|
||||
ImVec2 canvas_p0, ImVec2 scrolling) {
|
||||
// Get the mouse position relative to the canvas
|
||||
|
||||
Reference in New Issue
Block a user