Skip to content

Instantly share code, notes, and snippets.

@innocuo
innocuo / disable_select_drag.css
Created May 16, 2019 16:02
disable text/image select and drag for electron apps
:not(input):not(textarea),
:not(input):not(textarea)::after,
:not(input):not(textarea)::before {
-webkit-user-select: none;
user-select: none;
cursor: default;
}
input, button, textarea, :focus {
outline: none; // You should add some other style for :focus to help UX/a11y
}

User support

The Joplin Forum is the community driven place for user support, general discussion about Joplin, problems with installation, new features and software development questions. It is possible to login with your GitHub account.

Reporting a bug

File bugs in the Github Issue Tracker. Please follow these guidelines:

  • Search existing issues first, make sure yours hasn't already been reported.
  • Don't use the issue tracker for support questions.
@innocuo
innocuo / AddUV
Last active February 25, 2022 07:32
How to create a rigged humanoid character using Clayxels and Puppet3D.
using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
public class AddUV : MonoBehaviour
{
public Mesh mesh;
void Awake()
@innocuo
innocuo / textureSwitcher.js
Last active August 28, 2020 14:26
how to create 2 materials in PSV
//store materials in global vars
var panorama_default;
var panorama_hover;
//photosphereviewer has a renderer. The renderr uses a mesh (a sphere)
//the sphere has a material, and the material has a texture.
//we store one material
panorama_default = PSV.renderer.mesh.material.clone();