remove time parameter, it's not useful right now
This commit is contained in:
parent
869efdd56a
commit
e2831d7c6b
@ -58,7 +58,6 @@ function onInput(event) {
|
|||||||
if (!validEvents.includes(event.inputType)) return;
|
if (!validEvents.includes(event.inputType)) return;
|
||||||
const payload = {
|
const payload = {
|
||||||
client: uuid,
|
client: uuid,
|
||||||
time: performance.now(),
|
|
||||||
action: event.inputType,
|
action: event.inputType,
|
||||||
data: event.data,
|
data: event.data,
|
||||||
start: selectionStart,
|
start: selectionStart,
|
||||||
|
@ -22,7 +22,6 @@ enum ActionType {
|
|||||||
#[derive(Serialize, Deserialize)]
|
#[derive(Serialize, Deserialize)]
|
||||||
pub(crate) struct Action {
|
pub(crate) struct Action {
|
||||||
pub(crate) client: String,
|
pub(crate) client: String,
|
||||||
time: u64,
|
|
||||||
data: Option<String>,
|
data: Option<String>,
|
||||||
action: ActionType,
|
action: ActionType,
|
||||||
start: usize,
|
start: usize,
|
||||||
|
Loading…
Reference in New Issue
Block a user