Table of Contents

Method ClampConsoleHeight

Namespace
OpenEphys.Miniscope.Gui
Assembly
OpenEphys.Miniscope.Gui.dll

ClampConsoleHeight(float, float)

Clamps height to a sane console height for the given windowHeight: never below the scaled minimum, never above a fraction of the window.

public float ClampConsoleHeight(float height, float windowHeight)

Parameters

height float
windowHeight float

Returns

float