• Leon Arnott's avatar
    Made two alterations involving <input> elements. · a8a7c286dae5
    Leon Arnott authored
     * Now, <input> elements in (prompt:) dialogs have been given the CSS style border:solid white to make them more visually consistent with (input:) elements.
     * Now, Harlowe will attempt to auto-focus (input:) and (input-box:) elements when they are added to the passage, allowing the player to type into them immediately. If multiple (input:) or (input-box:) elements are present, the first (highest) one will be auto-focused. Note that any further (input:) elements added to the passage (via (after:) or some other means) will be auto-focused even if the player is currently typing into an existing element.