aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
AgeCommit message (Collapse)Author
2022-04-03fixed ink handles to work in lightbox, so re-enabled open in lightbox for ↵bobzel
selected ink. fixed double-click to not lock out in some cases because pendingDoubleClick never gets unset. fixed text to not jitter scroll bar when typing enter at end of autosize texst box.
2022-03-04removed pseudo Doc type system. playing with hot reloading.bobzel
2021-12-02moved ink appearance menu to top of properties view. fixed size of ↵bobzel
arrowheads on selected ink.
2021-12-02added scale factor for arrows. added control point drag to reparameterize. ↵bobzel
fixed toggling tangent lines to not happen when dragging.
2021-12-02fixed filled strokes when erasing to render properly. fixed stretch ink to ↵bobzel
work with multiple selections.
2021-11-30from lastbobzel
2021-11-30fixed warnings/errors. added inkingStroke comments. need to double-click ↵bobzel
now to add a point to an ink stroke.
2021-11-30change delete points for ink to try to preserve the shape as much as ↵bobzel
possible. Shift + backspace deletes the point without preserving geometry
2021-11-29added moving ink stroke segments. added stretching and rotating ink ↵bobzel
strokes about opposite end point.
2021-11-17changed link line curves a bit. fixed formatted text box not to center text ↵bobzel
for typed notes.
2021-11-16added textboxes inside closed ink strokesbobzel
2021-10-27fixed warnings/errors.bobzel
2021-10-26simplified snappingbobzel
2021-10-26adding snapping code between ink strokes. added some componentView API ↵bobzel
functions to convert local (eg ink) points to/from screen space and for snapping
2021-10-26Merge branch 'master' into ink_v1bobzel
2021-10-26 fix to ink rotation to preserve rotation center between rotations.bobzel
2021-10-26Merge branch 'master' into ink_v1bobzel
2021-10-26when document is in lightbox view and a link is followed to its sidebar, we ↵bobzel
no longer reopen the document in its context. fixed selecting annotations on web/pdf. don't change document height when shown in a linkPreview. webBox fixes for pages with scripts. fixed range bounds when clicking on web text several fixes to web pages on server and client. client webbox allows clicks on divs with onclick instead of doing selection also hacky fix so that google search url doesn't keep expanding by removing 'q=' regions also added prevent/allow script menu item server grabs all html and hides id="google.." which are ads. also rewrites hrefs starting with http to route through corsProxy also removes target=_blank tags to prevent pages from opening outside of dash. also cleaned up routes and comments also when not logged in, references to anything in dash domain route to /home
2021-10-07ink rotation based on angle changevkalev
2021-10-06fixed lightbox view to shrinkwrap collections when opened, but not force fit ↵bobzel
contents to allow users to navigate. fixed comparison box to show context of maker'/annotation documents. fixed ink pointer events to honor pointerEvents prop (eg when embedded in a comparisonBox that turns them off).
2021-10-01added stroke highlighting when following links. turned off display of ↵bobzel
centerline stroke when stroke is just selected but control point editing is not active. fixed snapping ink to make closed curves.
2021-10-01fixed ink to not have a bounding box when isLinkButton is set but rather to ↵bobzel
have an outline of the ink stroke
2021-09-30fixed creating/drawing straight horizontal/vertical lines. fixed showing ↵bobzel
proper context menu for ink.
2021-09-29made IsClosed a static function. fixed warnings and errors.bobzel
2021-09-29fixed breaking smoothness of closed curve at 0/last index. fixed ↵bobzel
highlighting closed curves.
2021-09-29cleaned up/fixed line arrowheads & dots. added linecap options for lines, ↵bobzel
added outline of lines using fillColor. turned off border in comic mode for ink.
2021-09-29added snapping to close curve or to self-snap a vertex to its curve. fixed ↵bobzel
ink decorations from being clipped when zoomed. fixed crash with zero-length tangent
2021-09-29fixed filling of curves. added toggling of brokenindex with right-click. ↵bobzel
changed look of ink handles to be lighter weight and to reflect brokenindex sttate
2021-09-29a number of undo/redo fixes for ink (snapping to tangent, add points, ↵bobzel
dragging tangents). also tried to make storage of undo events more efficient when dragging ink controls (avoid saving hundreds of copies of the InkField)
2021-09-28renamed some ink filesbobzel
2021-09-28a bunch of code cleanup for inkingstrokesbobzel
2021-09-28fixed adding point drag location. fixed broken indices on deleting.bobzel
2021-09-28fixed double click to edit curve.bobzel
2021-09-28only hover ink if its selectedbobzel
2021-09-28converted ink addpoints to not use sampling. needs addPoints() to be filled in.bobzel
2021-09-27fixed ink stroke editing to work with closed curves (eg break / restore ↵bobzel
tangent & drag start/end point). changed ink rendering to use svg bezier curves. fixed bugs with keydown handler to break tangent.
2021-09-14merged with masterbobzel
2021-09-14fixed adding a new point on an ink strokebobzel
2021-09-14fixed handle size/placement for ink editing.bobzel
2021-09-13working on control pointskimdahey
2021-09-10cleaned up ink button behaviors -- fixed setFill to just set the fill, not ↵bobzel
the background color of the selected document.
2021-09-10event handling fixes for ink. double click on deselected ink takes shows ↵bobzel
handles. lightbox view works. transparent fills are not selectable.
2021-09-04added top/left clip bounds to ink decorationsbobzel
2021-09-03selection line width fixvkalev
2021-09-03fixed selection stroke offsetbobzel
2021-09-03adding ComponentDecorationsvkalev
2021-09-02from lastbobzel
2021-09-02cleaned up overlay ink stroke in document decorationsbobzel
2021-09-02corrected fix to drawing ink stroke in doc decorations overlay.bobzel
2021-09-02working on moving ink UI to DocumentDecorationsvkalev