mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-23 02:19:46 +00:00
input offset get/set functions in conductor
This commit is contained in:
parent
d9a6bead77
commit
3544f2a804
|
@ -209,7 +209,17 @@ class Conductor
|
|||
/**
|
||||
* An offset set by the user to compensate for input lag.
|
||||
*/
|
||||
public var inputOffset:Float = 0;
|
||||
public var inputOffset(get, set):Float;
|
||||
|
||||
function get_inputOffset():Float
|
||||
{
|
||||
return Save.get().options.inputOffset;
|
||||
}
|
||||
|
||||
function set_inputOffset(value:Float):Float
|
||||
{
|
||||
return Save.get().options.inputOffset = value;
|
||||
}
|
||||
|
||||
/**
|
||||
* The number of beats in a measure. May be fractional depending on the time signature.
|
||||
|
|
Loading…
Reference in a new issue