Giter Site home page Giter Site logo

Comments (10)

jessvu avatar jessvu commented on July 3, 2024 1

Feedback for Text Tool Update

Screen Shot 2021-02-07 at 8 52 06 PM

https://docs.google.com/presentation/d/1kOKl3iC7_b7VOVp64xXCJtnPoAcv90rll2J5jpHoA5s/edit#slide=id.gbc2a418f24_0_0

Screen Shot 2021-02-07 at 8 52 14 PM

https://docs.google.com/presentation/d/1kOKl3iC7_b7VOVp64xXCJtnPoAcv90rll2J5jpHoA5s/edit#slide=id.gbc2a418f24_1_7

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

Possible solution: https://stackoverflow.com/questions/30632816/how-to-activate-the-cursor-for-a-fabric-js-itext

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

Just pushed up some changes to the Type Text tool.

  • User can now just click anywhere on the canvas and start typing
  • When clicking off an active typing object, it resets itself. Previously it jumped straight into a new type action.
  • Added in mouse cursor support based on whether user is actively typing, and when not actively typing.

image

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

@jessvu Something like this?

image

image

from loc-speculative-annotations.

jessvu avatar jessvu commented on July 3, 2024

@adamjarling yes, exactly!

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

@jessvu This should be in place where the text cursor is the currently selected global color. Fabric gives it this fade in / fade out, like its breathing type effect which not sure I can control. I just checked in Chrome/Brave/Safari. If you're not seeing it, can you let met know which browser? And are you on Mac or PC? I'll pop this open in Browserstack and run it through all options if we can't track it down.

image

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

I can also control the background color (including opacity) and edit box border color. Currently I have the background "white" with a 0.5 opacity value.

from loc-speculative-annotations.

jessvu avatar jessvu commented on July 3, 2024

@adamjarling this is what I'm seeing. When I select the type tool, I'm seeing a crosshair cursor instead of a text cursor. The crosshair cursor gives the impression that a text box could be drawn while a text cursor indicates that I may begin typing immediately. However, this isn't a huge usability concern of mine at this point. I think users should be able to figure out how to use the text tool with little to no problems. As for the color, I think for now your settings are fine.

Screen.Recording.2021-02-08.at.8.37.58.PM.mov

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

Yea, I have the crosshair issue fixed. I'll push up the fixes now...

from loc-speculative-annotations.

adamjarling avatar adamjarling commented on July 3, 2024

FYI, for browser supported cursors, here's a list. I'll look into how to get a paintbrush as an icon through FabricJS too.

https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#values

from loc-speculative-annotations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.