Skip to content

Remove colouration of area when roof:colour input has focus #12808

Description

@CloCkWeRX

Description

When I:

  • Select a building way
  • Add roof:colour as a key/input
  • Focus on the input

Sometimes I am slightly mislead about the true colour of what I am seeing due to the light red mask atop the image. As I have focus, it is difficult to swap to wireframe mode with a keyboard shortcut such as w

I'd like ID to automatically do this for certain input, so that I'm making a more accurate judgement.

Alternatives
On focus, defaulting the input=colour being in 'eyedropper' mode would also solve a lot of this, encouraging me to make an accurate judgement.
https://developer.mozilla.org/en-US/docs/Web/API/EyeDropper_API however is not widely supported and the eyedropper behaviour isn't possible to trigger by plain HTML afaik.

Screenshots

Current state:
Roof colour looks slightly more "red-brown" than it actually is, due to the light red mask and active border:
Image

Desired state:
For the selected way, if not all ways, swap to outline only mode when the roof:colour input has focus. Here we see the roof is actually dirty beige
Image

On blur, revert to previous state.
In wireframe mode, obviously no transition needed.

This makes it more difficult to make subtle mistakes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions