Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
0d6a07f6
Kaydet (Commit)
0d6a07f6
authored
Mar 24, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sd tiled rendering: increase hit testing tolerance
Change-Id: Ibab0aeb6b9b605d1cc964e7858404b1e0919fc10
üst
9eb26a9a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
fusel.cxx
sd/source/ui/func/fusel.cxx
+7
-0
fupoor.hxx
sd/source/ui/inc/fupoor.hxx
+2
-0
No files found.
sd/source/ui/func/fusel.cxx
Dosyayı görüntüle @
0d6a07f6
...
...
@@ -155,6 +155,13 @@ bool FuSelection::MouseButtonDown(const MouseEvent& rMEvt)
sal_uInt16
nDrgLog
=
sal_uInt16
(
mpWindow
->
PixelToLogic
(
Size
(
DRGPIX
,
0
)).
Width
()
);
sal_uInt16
nHitLog
=
sal_uInt16
(
mpWindow
->
PixelToLogic
(
Size
(
HITPIX
,
0
)).
Width
()
);
if
(
mpDoc
->
isTiledRendering
())
{
// When tiled rendering, we always work in logic units, use the non-pixel constants.
nDrgLog
=
DRGLOG
;
nHitLog
=
HITLOG
;
}
// The following code is executed for right clicks as well as for left
// clicks in order to modify the selection for the right button as a
// preparation for the context menu. The functions BegMarkObject() and
...
...
sd/source/ui/inc/fupoor.hxx
Dosyayı görüntüle @
0d6a07f6
...
...
@@ -48,7 +48,9 @@ class FuPoor : public SimpleReferenceComponent
{
public
:
static
const
int
HITPIX
=
2
;
// Hit-Toleranz in Pixel
static
const
int
HITLOG
=
53
;
// Hit tolerance in mm100
static
const
int
DRGPIX
=
2
;
// Drag MinMove in Pixel
static
const
int
DRGLOG
=
53
;
// Minimal drag move in mm100
TYPEINFO
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment