[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] [approve] [cruxxial] defaultLag for KrNumberEditor



May I propose a small change?

KrNumberEditor : NumberEditor {
classvar <>defaultLag = 0.1;
var <>lag;

init { arg val, aspec;
super.init(val, aspec);
lag = defaultLag;
}


Sorry... I generally don't believe in hardcoding defaults and I use KrNumberEditors a lot.

Tested -- it works and doesn't break anything.
hjh
____________________________________

H. James Harkins /// dewdrop_world
http://www.dewdrop-world.net

"If attacked by a lion, thrust your arm down his throat.
This takes some practice." -- Cyril Connolly