more code cleanup, now looks cleaner too
This commit is contained in:
@ -122,7 +122,7 @@ void SetNextPanelFlags(InspectorFlags setFlags, InspectorFlags clearFlags)
|
||||
bool BeginInspectorPanel(const char *title, ImTextureID texture, ImVec2 textureSize, InspectorFlags flags,
|
||||
SizeIncludingBorder sizeIncludingBorder)
|
||||
{
|
||||
const int borderWidth = 1;
|
||||
const int borderWidth = 0;
|
||||
// Unpack size param. It's in the SizeIncludingBorder structure just to make sure users know what they're requesting
|
||||
ImVec2 size = sizeIncludingBorder.Size;
|
||||
|
||||
@ -389,7 +389,7 @@ bool BeginInspectorPanel(const char *name, ImTextureID texture, ImVec2 textureSi
|
||||
void EndInspectorPanel()
|
||||
{
|
||||
const ImU32 innerBorderColour = 0xFFFFFFFF;
|
||||
const ImU32 outerBorderColour = 0xFF888888;
|
||||
const ImU32 outerBorderColour = 0x00000000;
|
||||
Inspector *inspector = GContext->CurrentInspector;
|
||||
|
||||
// Draw out border around whole inspector panel
|
||||
|
Reference in New Issue
Block a user