aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/InkStrokeProperties.ts
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-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-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-01-18fixed warnings. display last user to edit db. fixed /activity to show ↵bobzel
only users with a connected socket. fixed toggle "Overlay" button to toggle its background based on overlay state.
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-02added shift erase stroke to delete full strokes. added shift drag end of ↵bobzel
stroke to scale uniformly. added ctrl+p,ctrl+e to switch between eraser/pen. added delete to menu options for tree view items. cleaned up a lot of ink code.
2021-12-01cleanup DocDecorations ink rotationbobzel
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-12reverting NaN check when moving tangent handlevkalev
2021-11-09working on undo/redovkalev
2021-10-28adding eraser tool to menuLauren
2021-10-27more ink drag cleanup - fixed closing curves / dragging with pick correlationbobzel
2021-10-26cleaned up inkRotation codebobzel
2021-10-26simplified snappingbobzel
2021-10-26from lastbobzel
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-26refactoring snapping slightlyLauren
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-21changing rotationvkalev
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-09-30fixed ink rotationbobzel
2021-09-30fixed jitter of position when moving ink points aroundbobzel
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-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-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-28cleaned up inkstrokeproperties code a bit.bobzel
2021-09-28prevent crashes when ink points are not multiple of 4. deleting ink ctrl ↵bobzel
point that leaves one bezier segment no longer converts to a line.
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 broken indices for ink curve splittingbobzel
2021-09-28removing previous addpoint codevkalev
2021-09-28updating broken indicesvkalev
2021-09-28added the splicebobzel
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-10turned pen on/off and ink handles on/off whenever the other is activated.bobzel
2021-08-13cleaning upvkalev
2021-08-11added circle shape generation using only 4 Bézier curvesvkalev
2021-07-28snapping broken tangency addedvkalev
2021-07-27changing format of controls/handles + adding color enumsvkalev
2021-07-22additional commentsvkalev
2021-07-22adding broken indices to layoutDoc workingvkalev
2021-07-17added broken indices to layoutDocgeireann
:broken_heart:
2021-07-15adding new point creates tangent handle lines + snapping handle tangents not ↵vkalev
working