Skip to content

Instantly share code, notes, and snippets.

@eskimoblood
Created December 28, 2019 15:45
Show Gist options
  • Save eskimoblood/c56ca967e266136dd14d55d0693f9e1c to your computer and use it in GitHub Desktop.
Save eskimoblood/c56ca967e266136dd14d55d0693f9e1c to your computer and use it in GitHub Desktop.
My Awesome Sketch
My Awesome Sketch
Nothing Selected
click on bar -> One Bar Selected
shift click on bar -> Continious Bars Selected
One Bar Selected
click on same bar -> Nothing Selected
click on another bar -> One Bar Selected
shift click on another bar -> Non Continious Bars Selected
ctrl click on another bar -> Continious Bars Selected
move mouse -> Selection
Non Continious Bars Selected
click on bar -> One Bar Selected
shift click on bar -> ?
ctrl click on bar -> ?
Continious Bars Selected
click on bar -> One Bar Selected
shift click on bar -> ?
ctrl click on bar -> ?
Selection
mouseUp -> Continious Bars Selected
?
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment