change wheel
This commit is contained in:
parent
b82dee018a
commit
707b3c6217
@ -29,6 +29,7 @@ const addState = connect(
|
|||||||
}
|
}
|
||||||
|
|
||||||
function sendVboxAccept(group, index) {
|
function sendVboxAccept(group, index) {
|
||||||
|
document.activeElement.blur();
|
||||||
return ws.sendVboxAccept(instance.id, group, index);
|
return ws.sendVboxAccept(instance.id, group, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -217,7 +218,7 @@ class Vbox extends preact.Component {
|
|||||||
|
|
||||||
const vboxObject = shapes[v] ? shapes[v]() : v;
|
const vboxObject = shapes[v] ? shapes[v]() : v;
|
||||||
return (
|
return (
|
||||||
<label draggable='true'
|
<label draggable='true'
|
||||||
onDragStart={ev => ev.dataTransfer.setData('text', '')}
|
onDragStart={ev => ev.dataTransfer.setData('text', '')}
|
||||||
onDragEnd={clearVboxSelected}>
|
onDragEnd={clearVboxSelected}>
|
||||||
<button
|
<button
|
||||||
@ -325,7 +326,7 @@ class Vbox extends preact.Component {
|
|||||||
const highlighted = combiner.indexOf(i) > -1;
|
const highlighted = combiner.indexOf(i) > -1;
|
||||||
const border = buttons[removeTier(v)] ? buttons[removeTier(v)]() : '';
|
const border = buttons[removeTier(v)] ? buttons[removeTier(v)]() : '';
|
||||||
const classes = `${highlighted ? 'highlight' : border} ${comboHighlight}`;
|
const classes = `${highlighted ? 'highlight' : border} ${comboHighlight}`;
|
||||||
|
|
||||||
const invObject = shapes[v] ? shapes[v]() : v;
|
const invObject = shapes[v] ? shapes[v]() : v;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -67,13 +67,13 @@ pub fn select(db: &Db, id: Uuid) -> Result<Account, Error> {
|
|||||||
|
|
||||||
pub fn chat_wheel(_db: &Db, _id: Uuid) -> Result<Vec<String>, Error> {
|
pub fn chat_wheel(_db: &Db, _id: Uuid) -> Result<Vec<String>, Error> {
|
||||||
return Ok(vec![
|
return Ok(vec![
|
||||||
"gl".to_string(),
|
|
||||||
"hf".to_string(),
|
|
||||||
"gg".to_string(),
|
"gg".to_string(),
|
||||||
"thx".to_string(),
|
"glhf".to_string(),
|
||||||
"nice".to_string(),
|
|
||||||
"hmm".to_string(),
|
"hmm".to_string(),
|
||||||
"ok".to_string(),
|
"ok".to_string(),
|
||||||
|
"rekt".to_string(),
|
||||||
|
"thx".to_string(),
|
||||||
|
"nice".to_string(),
|
||||||
"...".to_string(),
|
"...".to_string(),
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user