aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
AgeCommit message (Collapse)Author
2022-06-20a bunch of changes to make some userDoc() field accesses more typesafe by ↵bobzel
going through CurrentUserUtils. Some normalization of naming/functionality in CurrentUserUtils
2022-06-02fixed highlighting of ink to not show bounding box. stopped shift Tab from ↵bobzel
blocking bulleting. moved presEffects to slide.
2022-05-13fixed erasing overtop of closed curves. fixed outlining of non-closed strokes.bobzel
2022-05-13removed layerProvider functionality.bobzel
2022-05-12fixed perfromance (flickering, speed) issues with having pointerEvents prop ↵bobzel
invalidate documents - switched to using a function to avoid flickering on PDFs of annotations in particular.
2022-05-02disallowed dragging a control point past another control point.bobzel
2022-05-02fixed scaling ink label in lightbox,etc views. changed ink strokes so that ↵bobzel
clicking on label of closed stroke is lower preceden than clicking on line. fixed fontsize UI for setting ink label sizes. can no longer slide ink pts that are cusps along curve.
2022-04-11lots of layout fixes to groups, labels, ink to support iconification better. ↵bobzel
simpliifed documentdecorations. fixed display artifacts related to things not showing up when dragging, or otherwise not getting a halo of nested freeform colletions.
2022-04-11making layout icons work better.bobzel
2022-04-04cleaned up warnings. fixed ink to work better with it's label boxes by not ↵bobzel
letting textbox ComponentView override inkinstroke. made ink text boxes go away unless they have text or are selected. fixed up brushing code and made it work for ink and ink w/ text labels
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