<commit_before>'use strict';

let drawingAreaX = 290;
let drawingAreaY = 590;
let drawingAreaWidth = 10;
let drawingAreaHeight = 10;
let toolHotspotStartY = 10;
let toolHotspotHeight = 10;
let curTool = "crayon";

function mousedownListener(e) {

    let mouseX = e.pageX - this.offsetLeft;
		let mouseY = e.pageY - this.offsetTop;

    		this.paint = true;
    		this.addClick(mouseX, mouseY, false);
    		this.redraw();
}

function mousemoveListener(e) {
    let mouseX = (e.changedTouches ? e.changedTouches[0].pageX : e.pageX) -
        this.canvas.offsetLeft;<commit_msg>painting over the edge of the frame is not more possible<commit_after>'use strict';

function mousedownListener(e) {

    let mouseX = e.pageX - this.offsetLeft;
		let mouseY = e.pageY - this.offsetTop;

    		this.paint = true;
    		this.addClick(mouseX, mouseY, false);
    		this.redraw();
}

function mousemoveListener(e) {
    let drawingAreaX = 290;
    let drawingAreaY = 590;
    let drawingAreaWidth = 10;
    let drawingAreaHeight = 10;

    let mouseX = (e.changedTouches ? e.changedTouches[0].pageX : e.pageX) -
        this.canvas.offsetLeft;
{'fraction_non_alphanumeric': 0.11120917917034422, 'fraction_numerical': 0.02294792586054722, 'mean_word_length': 3.3783783783783785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1516147', 'n_tokens_mistral': 432, 'n_tokens_neox': 396, 'n_words': 94}