diff --git a/src/App.vue b/src/App.vue index ffc71d9..e833e94 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,9 +21,11 @@
  • Edit planets by clicking directly inside the graphic or in the table below.
  • Drag planets around to change their distance.
  • -
  • Use the scrollwheel to change their size.
  • +
  • Use the scrollwheel to change their size (click first to activate).
  • To change satellites, click their respective buttons in the planet dialog.
  • You can also drag satellite buttons around to reorder them.
  • +
  • The last removed object can be restored from the table.
  • +
  • ONLY THE LAST removed object can be restored.
  • @@ -54,6 +56,10 @@ const selectedObject = ref(null) const deletedObject = ref(null) // { index: Number, object: Object } function editObject (object) { + if (object) { + document.documentElement.scrollTop = 0 + document.body.scrollTop = 0 + } selectedObject.value = object }