Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disabled draw actions per issue 89 #102

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions frontend/src/components/model/classify.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
<div id="canvasparent" />
</v-col>
</v-row>
<!--
issue 89-disabling classification until it's actually useful
<v-row
align="center"
justify="center"
Expand Down Expand Up @@ -63,6 +65,7 @@
</div>
</Instructions>
</v-row>
-->
</v-card-text>
</v-card>
</template>
Expand All @@ -72,12 +75,12 @@ import { defineComponent } from 'vue'
import { SaveData } from '@/lib/models'
import { DrawCanvas } from '@/lib/draw'
import { useCanvas, useAppStore } from '@/lib/store'
import Instructions from '@/components/classify_instructions.vue'
// import Instructions from '@/components/classify_instructions.vue'

export default defineComponent({
name: 'Classify',
components: {
Instructions,
// Instructions,
},
props: {
sdata: {
Expand Down
9 changes: 5 additions & 4 deletions frontend/src/lib/draw/canvas.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { fromEvent, Subject } from 'rxjs'
import {
Rect,
useMoveActions,
useNewDrawActions,
// issue 89 - disabling until we actually do something with classification
// useMoveActions,
// useNewDrawActions,
useHoverHighLightActions,
CanvasColorSchema,
IRect,
Expand Down Expand Up @@ -156,8 +157,8 @@ export class DrawCanvas {
this.resetStyles()
this.redraw()
if (!this.is_tf) {
useMoveActions(this)()
useNewDrawActions(this)()
// useMoveActions(this)()
// useNewDrawActions(this)()
useHoverHighLightActions(this)()
this.eventSubscribe()
}
Expand Down