aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkingStroke.tsx
AgeCommit message (Collapse)Author
2022-12-21cleaning up ACLs for performance and claritybobzel
2022-12-01refactored process of following links / jumping to docs and added following ↵bobzel
options for zoomTime, etc instead of setting temporary fields on docs.
2022-11-11made inkMask white.bobzel
2022-11-11fixed converting strokes to inkMasks. cleaned up rendering inkStrkes w/ w/o ↵bobzel
closed/borders. fixed highlighting strokes not to show boundingbox.
2022-11-10fixed inkMaskStrokesbobzel
2022-10-03fixed client crash on text menu for ink strokes. fixed circle rubber ↵bobzel
banding. fixed vertical position of text in ink stroke
2022-08-24made text boxes support animation frames. fixed dragging on unselected pres ↵bobzel
element ttitles. cleaned up setting ink to have animation frames.
2022-08-23added color to animated properties. changed doc decorations to stop before ↵bobzel
menu bar. changed color of tab bar so that doc decorations is visible when overlapping.
2022-08-22made inkMasks animate when they are turned on /off. fixed inkStrokes to ↵bobzel
be interpolated when they have an activeFrame set.
2022-08-22made ink strokes animatable. added currentFrame to playgroundFieldsbobzel
2022-08-11added better ui and backend support for mask ink strokes. added frame #'s ui ↵bobzel
for seeing current animation frame.
2022-07-22adjusted native dim scaling slightly combining props.scaling and ↵bobzel
props.ContentScaling into props.NativeDimScaling and fixing some resizing behaviors for fitWidth freeformviews and native-sized text boxes. Also fixed clicking on presboxe elements to not drag.
2022-07-22changed ink width to be scaled by document scale to make it look like ink ↵bobzel
stroke is the same regardless of the native width of the document being drawn on.
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