diff options
| author | a1xd <[email protected]> | 2020-12-03 20:00:31 -0500 |
|---|---|---|
| committer | a1xd <[email protected]> | 2020-12-03 20:00:31 -0500 |
| commit | 5657d5a54c0a8e980c9b0cac39e2d16e452f302e (patch) | |
| tree | 03c254c41dba5f64a998ac13c38e36943bf8b942 /grapher/Models/Charts/ChartState/XYTwoGraphState.cs | |
| parent | update writer - use messagebox instead of console (diff) | |
| download | rawaccel-5657d5a54c0a8e980c9b0cac39e2d16e452f302e.tar.xz rawaccel-5657d5a54c0a8e980c9b0cac39e2d16e452f302e.zip | |
add directional multipliers
adds multipliers for movement in negative directions (up & left by default, can be flipped by rot or sens)
avoid division by user input in mousewatcher
Diffstat (limited to 'grapher/Models/Charts/ChartState/XYTwoGraphState.cs')
| -rw-r--r-- | grapher/Models/Charts/ChartState/XYTwoGraphState.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs index d107f87..075cc0f 100644 --- a/grapher/Models/Charts/ChartState/XYTwoGraphState.cs +++ b/grapher/Models/Charts/ChartState/XYTwoGraphState.cs @@ -33,9 +33,9 @@ namespace grapher.Models.Charts.ChartState GainChart.ClearSecondDots(); } - public override void MakeDots(int x, int y, double timeInMs) + public override void MakeDots(double x, double y, double timeInMsRecip) { - Data.CalculateDotsXY(x, y, timeInMs); + Data.CalculateDotsXY(x, y, timeInMsRecip); } public override void Bind() |